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