hydra.langs.shex.syntax.Integer_ Maven / Gradle / Ivy
package hydra.langs.shex.syntax;
import java.io.Serializable;
public class Integer_ implements Serializable {
public static final hydra.core.Name NAME = new hydra.core.Name("hydra/langs/shex/syntax.Integer");
public final String value;
public Integer_ (String value) {
this.value = value;
}
@Override
public boolean equals(Object other) {
if (!(other instanceof Integer_)) {
return false;
}
Integer_ o = (Integer_) (other);
return value.equals(o.value);
}
@Override
public int hashCode() {
return 2 * value.hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy