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