edu.stanford.protege.webprotege.hierarchy.AutoValue_GraphModelChangedEvent Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.hierarchy;
import com.google.common.collect.ImmutableList;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_GraphModelChangedEvent extends GraphModelChangedEvent {
private final ImmutableList> changes;
AutoValue_GraphModelChangedEvent(
ImmutableList> changes) {
if (changes == null) {
throw new NullPointerException("Null changes");
}
this.changes = changes;
}
@Override
public ImmutableList> getChanges() {
return changes;
}
@Override
public String toString() {
return "GraphModelChangedEvent{"
+ "changes=" + changes
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof GraphModelChangedEvent) {
GraphModelChangedEvent> that = (GraphModelChangedEvent>) o;
return this.changes.equals(that.getChanges());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= changes.hashCode();
return h$;
}
}