AutoValue_PostgresVersionCondition_Version.java
package de.softwareforge.testing.postgres.junit5;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_PostgresVersionCondition_Version extends PostgresVersionCondition.Version {
private final int major;
private final int minor;
private final int patch;
AutoValue_PostgresVersionCondition_Version(
int major,
int minor,
int patch) {
this.major = major;
this.minor = minor;
this.patch = patch;
}
@Override
int major() {
return major;
}
@Override
int minor() {
return minor;
}
@Override
int patch() {
return patch;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof PostgresVersionCondition.Version) {
PostgresVersionCondition.Version that = (PostgresVersionCondition.Version) o;
return this.major == that.major()
&& this.minor == that.minor()
&& this.patch == that.patch();
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= major;
h$ *= 1000003;
h$ ^= minor;
h$ *= 1000003;
h$ ^= patch;
return h$;
}
}