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

hydra.langs.cypher.openCypher.PropertyKeyName Maven / Gradle / Ivy

package hydra.langs.cypher.openCypher;

import java.io.Serializable;

public class PropertyKeyName implements Serializable {
  public static final hydra.core.Name NAME = new hydra.core.Name("hydra/langs/cypher/openCypher.PropertyKeyName");
  
  public final String value;
  
  public PropertyKeyName (String value) {
    this.value = value;
  }
  
  @Override
  public boolean equals(Object other) {
    if (!(other instanceof PropertyKeyName)) {
      return false;
    }
    PropertyKeyName o = (PropertyKeyName) (other);
    return value.equals(o.value);
  }
  
  @Override
  public int hashCode() {
    return 2 * value.hashCode();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy