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

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

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

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

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

  private final ImmutableList order;

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

  @Override
  public ImmutableList order() {
    return order;
  }

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

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof BranchOrderSection) {
      BranchOrderSection that = (BranchOrderSection) 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