예제 #1
0
 public String getName() {
   return feature != null ? feature.toString() : LEAF_NODE_NAME;
 }
예제 #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);
 }