com.google.gerrit.entities.AutoValue_BranchOrderSection Maven / Gradle / Ivy
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$;
}
}