com.abubusoft.kripton.common.One Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kripton-core Show documentation
Show all versions of kripton-core Show documentation
Kripton Persistence Library - core module
package com.abubusoft.kripton.common;
public class One {
public V0 value0;
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((value0 == null) ? 0 : value0.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
One other = (One) obj;
if (value0 == null) {
if (other.value0 != null)
return false;
} else if (!value0.equals(other.value0))
return false;
return true;
}
public One() {
}
public One(V0 value) {
this.value0=value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy