public String getName() { return feature != null ? feature.toString() : LEAF_NODE_NAME; }
/** * Check if data has feature. * * @param feature Feature. * @return True if data has feature and false otherwise. */ default boolean has(Feature feature) { return feature.belongsTo(this); }