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

com.google.gerrit.entities.AutoValue_Change_Id Maven / Gradle / Ivy

There is a newer version: 3.10.0-rc7
Show newest version
package com.google.gerrit.entities;

import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Change_Id extends Change.Id {

  private final int id;

  AutoValue_Change_Id(
      int id) {
    this.id = id;
  }

  @Override
  int id() {
    return id;
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy