ai.grakn.engine.controller.response.AutoValue_Keyspace Maven / Gradle / Ivy
package ai.grakn.engine.controller.response;
import javax.annotation.CheckReturnValue;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Keyspace extends Keyspace {
private final ai.grakn.Keyspace value;
AutoValue_Keyspace(
ai.grakn.Keyspace value) {
if (value == null) {
throw new NullPointerException("Null value");
}
this.value = value;
}
@CheckReturnValue
@Override
public ai.grakn.Keyspace value() {
return value;
}
@Override
public String toString() {
return "Keyspace{"
+ "value=" + value
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Keyspace) {
Keyspace that = (Keyspace) o;
return (this.value.equals(that.value()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.value.hashCode();
return h;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy