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

com.google.gerrit.server.AutoValue_AuditEvent_UUID Maven / Gradle / Ivy

There is a newer version: 3.10.1
Show newest version
package com.google.gerrit.server;

import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AuditEvent_UUID extends AuditEvent.UUID {

  private final String uuid;

  AutoValue_AuditEvent_UUID(
      String uuid) {
    if (uuid == null) {
      throw new NullPointerException("Null uuid");
    }
    this.uuid = uuid;
  }

  @Override
  public String uuid() {
    return uuid;
  }

  @Override
  public String toString() {
    return "UUID{"
        + "uuid=" + uuid
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy