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

com.google.errorprone.refaster.AutoValue_UIntersectionType Maven / Gradle / Ivy

There is a newer version: 2.27.1
Show newest version
package com.google.errorprone.refaster;

import com.google.common.collect.ImmutableList;
import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_UIntersectionType extends UIntersectionType {

  private final ImmutableList bounds;

  AutoValue_UIntersectionType(
      ImmutableList bounds) {
    if (bounds == null) {
      throw new NullPointerException("Null bounds");
    }
    this.bounds = bounds;
  }

  @Override
  public ImmutableList getBounds() {
    return bounds;
  }

  @Override
  public String toString() {
    return "UIntersectionType{"
        + "bounds=" + bounds
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof UIntersectionType) {
      UIntersectionType that = (UIntersectionType) o;
      return this.bounds.equals(that.getBounds());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= bounds.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy