edu.stanford.protege.webprotege.project.AutoValue_BuiltInPrefixDeclarations Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.project;
import com.google.common.collect.ImmutableList;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_BuiltInPrefixDeclarations extends BuiltInPrefixDeclarations {
private final ImmutableList prefixDeclarations;
AutoValue_BuiltInPrefixDeclarations(
ImmutableList prefixDeclarations) {
if (prefixDeclarations == null) {
throw new NullPointerException("Null prefixDeclarations");
}
this.prefixDeclarations = prefixDeclarations;
}
@Nonnull
@Override
public ImmutableList getPrefixDeclarations() {
return prefixDeclarations;
}
@Override
public String toString() {
return "BuiltInPrefixDeclarations{"
+ "prefixDeclarations=" + prefixDeclarations
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof BuiltInPrefixDeclarations) {
BuiltInPrefixDeclarations that = (BuiltInPrefixDeclarations) o;
return this.prefixDeclarations.equals(that.getPrefixDeclarations());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= prefixDeclarations.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy