com.google.gerrit.entities.AutoValue_ConfiguredMimeTypes 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_ConfiguredMimeTypes extends ConfiguredMimeTypes {
private final ImmutableList matchers;
AutoValue_ConfiguredMimeTypes(
ImmutableList matchers) {
if (matchers == null) {
throw new NullPointerException("Null matchers");
}
this.matchers = matchers;
}
@Override
public ImmutableList matchers() {
return matchers;
}
@Override
public String toString() {
return "ConfiguredMimeTypes{"
+ "matchers=" + matchers
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ConfiguredMimeTypes) {
ConfiguredMimeTypes that = (ConfiguredMimeTypes) o;
return this.matchers.equals(that.matchers());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= matchers.hashCode();
return h$;
}
}