com.google.gerrit.entities.$AutoValue_PatchSetApprovals Maven / Gradle / Ivy
package com.google.gerrit.entities;
import com.google.common.collect.ImmutableListMultimap;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_PatchSetApprovals extends PatchSetApprovals {
private final ImmutableListMultimap all;
$AutoValue_PatchSetApprovals(
ImmutableListMultimap all) {
if (all == null) {
throw new NullPointerException("Null all");
}
this.all = all;
}
@Override
public ImmutableListMultimap all() {
return all;
}
@Override
public String toString() {
return "PatchSetApprovals{"
+ "all=" + all
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof PatchSetApprovals) {
PatchSetApprovals that = (PatchSetApprovals) o;
return this.all.equals(that.all());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= all.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy