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

com.google.gerrit.server.index.change.AutoValue_ChangeField_StarField Maven / Gradle / Ivy

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

import com.google.gerrit.entities.Account;
import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ChangeField_StarField extends ChangeField.StarField {

  private final Account.Id accountId;

  AutoValue_ChangeField_StarField(
      Account.Id accountId) {
    if (accountId == null) {
      throw new NullPointerException("Null accountId");
    }
    this.accountId = accountId;
  }

  @Override
  public Account.Id accountId() {
    return accountId;
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy