dagger.internal.codegen.bindinggraphvalidation.AutoValue_DependencyCycleValidator_Cycle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
The newest version!
package dagger.internal.codegen.bindinggraphvalidation;
import com.google.common.collect.ImmutableSet;
import com.google.common.graph.EndpointPair;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_DependencyCycleValidator_Cycle extends DependencyCycleValidator.Cycle {
private final ImmutableSet> endpointPairs;
AutoValue_DependencyCycleValidator_Cycle(
ImmutableSet> endpointPairs) {
if (endpointPairs == null) {
throw new NullPointerException("Null endpointPairs");
}
this.endpointPairs = endpointPairs;
}
@Override
ImmutableSet> endpointPairs() {
return endpointPairs;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof DependencyCycleValidator.Cycle) {
DependencyCycleValidator.Cycle> that = (DependencyCycleValidator.Cycle>) o;
return this.endpointPairs.equals(that.endpointPairs());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= endpointPairs.hashCode();
return h$;
}
}