use of org.apache.commons.lang.builder.HashCodeBuilder in project vladmihalcea.wordpress.com by vladmihalcea.
the class Image method hashCode.
@Override
public int hashCode() {
HashCodeBuilder hcb = new HashCodeBuilder();
hcb.append(name);
hcb.append(product);
return hcb.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project vladmihalcea.wordpress.com by vladmihalcea.
the class Product method hashCode.
@Override
public int hashCode() {
HashCodeBuilder hcb = new HashCodeBuilder();
hcb.append(name);
hcb.append(company);
return hcb.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class AuthenticationRequest method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_credentials = true && (isSetCredentials());
builder.append(present_credentials);
if (present_credentials)
builder.append(credentials);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class IndexExpression method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_column_name = true && (isSetColumn_name());
builder.append(present_column_name);
if (present_column_name)
builder.append(column_name);
boolean present_op = true && (isSetOp());
builder.append(present_op);
if (present_op)
builder.append(op.getValue());
boolean present_value = true && (isSetValue());
builder.append(present_value);
if (present_value)
builder.append(value);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class InvalidRequestException method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_why = true && (isSetWhy());
builder.append(present_why);
if (present_why)
builder.append(why);
return builder.toHashCode();
}
Aggregations