All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hydra.ext.org.apache.tinkerpop.features.ExtraFeatures Maven / Gradle / Ivy

The newest version!
// Note: this is an automatically generated file. Do not edit.

package hydra.ext.org.apache.tinkerpop.features;

/**
 * Additional features which are needed for the complete specification of language constraints in Hydra, above and beyond TinkerPop Graph.Features
 */
public class ExtraFeatures {
  public static final hydra.core.Name TYPE_NAME = new hydra.core.Name("hydra/ext/org/apache/tinkerpop/features.ExtraFeatures");
  
  public static final hydra.core.Name FIELD_NAME_SUPPORTS_MAP_KEY = new hydra.core.Name("supportsMapKey");
  
  public final java.util.function.Function supportsMapKey;
  
  public ExtraFeatures (java.util.function.Function supportsMapKey) {
    java.util.Objects.requireNonNull((supportsMapKey));
    this.supportsMapKey = supportsMapKey;
  }
  
  @Override
  public boolean equals(Object other) {
    if (!(other instanceof ExtraFeatures)) {
      return false;
    }
    ExtraFeatures o = (ExtraFeatures) (other);
    return supportsMapKey.equals(o.supportsMapKey);
  }
  
  @Override
  public int hashCode() {
    return 2 * supportsMapKey.hashCode();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy