org.molgenis.semanticsearch.semantic.AutoValue_Hits Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of molgenis-semantic-search Show documentation
Show all versions of molgenis-semantic-search Show documentation
Semantic data search service functionality.
The newest version!
package org.molgenis.semanticsearch.semantic;
import java.util.List;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Hits extends Hits {
private final List> hits;
AutoValue_Hits(
List> hits) {
if (hits == null) {
throw new NullPointerException("Null hits");
}
this.hits = hits;
}
@Override
public List> getHits() {
return hits;
}
@Override
public String toString() {
return "Hits{"
+ "hits=" + hits
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Hits) {
Hits> that = (Hits>) o;
return this.hits.equals(that.getHits());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= hits.hashCode();
return h$;
}
}