com.proofpoint.http.client.jetty.AutoValue_Stats Maven / Gradle / Ivy
The newest version!
package com.proofpoint.http.client.jetty;
import javax.annotation.processing.Generated;
import org.weakref.jmx.Nested;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Stats extends Stats {
private final IoPoolStats ioPool;
AutoValue_Stats(
IoPoolStats ioPool) {
if (ioPool == null) {
throw new NullPointerException("Null ioPool");
}
this.ioPool = ioPool;
}
@Nested
@Override
IoPoolStats getIoPool() {
return ioPool;
}
@Override
public String toString() {
return "Stats{"
+ "ioPool=" + ioPool
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Stats) {
Stats that = (Stats) o;
return this.ioPool.equals(that.getIoPool());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= ioPool.hashCode();
return h$;
}
}