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

com.google.gerrit.server.permissions.AutoValue_SectionSortCache_EntryVal Maven / Gradle / Ivy

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

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_SectionSortCache_EntryVal extends SectionSortCache.EntryVal {

  private final ImmutableList order;

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

  @Override
  ImmutableList order() {
    return order;
  }

  @Override
  public String toString() {
    return "EntryVal{"
        + "order=" + order
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy