Esempio n. 1
0
 public String getName() {
   return feature != null ? feature.toString() : LEAF_NODE_NAME;
 }
Esempio n. 2
0
 /**
  * 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);
 }