hydra.ext.org.apache.tinkerpop.features.ExtraFeatures Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hydra-ext Show documentation
Show all versions of hydra-ext Show documentation
Hydra language extensions in Java; models, coders, and utilities
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();
}
}