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

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

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

import java.util.UUID;
import javax.annotation.Generated;

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

  private final UUID unique;

  AutoValue_UBlank(
      UUID unique) {
    if (unique == null) {
      throw new NullPointerException("Null unique");
    }
    this.unique = unique;
  }

  @Override
  UUID unique() {
    return unique;
  }

  @Override
  public String toString() {
    return "UBlank{"
         + "unique=" + unique
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy