@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null || getClass() != obj.getClass()) return false;
Bean that = (Bean) obj;
if (null != paramName && !"".equals(paramName) ? !paramName.equals(that.paramName) : that.paramName != null && !"".equals(that.paramName))
return false;
if (null != paramType ? paramType.intValue() != that.paramType.intValue() : that.paramType != null) {
return false;
}
return true;
}
@Override
public int hashCode() {
int result = paramType != null ? paramType.hashCode() : 0;
result = 31 * result + (null != paramName && !"".equals(paramName) ? paramName.hashCode() : 0);
return result;
}
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null || getClass() != obj.getClass()) return false;
Bean that = (Bean) obj;
if (null != paramName && !"".equals(paramName) ? !paramName.equals(that.paramName) : that.paramName != null && !"".equals(that.paramName))
return false;
if (null != paramType ? paramType.intValue() != that.paramType.intValue() : that.paramType != null) {
return false;
}
return true;
}
@Override
public int hashCode() {
int result = paramType != null ? paramType.hashCode() : 0;
result = 31 * result + (null != paramName && !"".equals(paramName) ? paramName.hashCode() : 0);
return result;
}