All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.bindinggraphvalidation.AutoValue_DependencyCycleValidator_Cycle Maven / Gradle / Ivy

There is a newer version: 2.52
Show 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$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy