use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class Mutation method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_column_or_supercolumn = true && (isSetColumn_or_supercolumn());
builder.append(present_column_or_supercolumn);
if (present_column_or_supercolumn)
builder.append(column_or_supercolumn);
boolean present_deletion = true && (isSetDeletion());
builder.append(present_deletion);
if (present_deletion)
builder.append(deletion);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class SliceRange method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_start = true && (isSetStart());
builder.append(present_start);
if (present_start)
builder.append(start);
boolean present_finish = true && (isSetFinish());
builder.append(present_finish);
if (present_finish)
builder.append(finish);
boolean present_reversed = true;
builder.append(present_reversed);
if (present_reversed)
builder.append(reversed);
boolean present_count = true;
builder.append(present_count);
if (present_count)
builder.append(count);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class SuperColumn method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_name = true && (isSetName());
builder.append(present_name);
if (present_name)
builder.append(name);
boolean present_columns = true && (isSetColumns());
builder.append(present_columns);
if (present_columns)
builder.append(columns);
boolean present_deleted_time = true && (isSetDeleted_time());
builder.append(present_deleted_time);
if (present_deleted_time)
builder.append(deleted_time);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class TokenRange method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_start_token = true && (isSetStart_token());
builder.append(present_start_token);
if (present_start_token)
builder.append(start_token);
boolean present_end_token = true && (isSetEnd_token());
builder.append(present_end_token);
if (present_end_token)
builder.append(end_token);
boolean present_endpoints = true && (isSetEndpoints());
builder.append(present_endpoints);
if (present_endpoints)
builder.append(endpoints);
boolean present_rpc_endpoints = true && (isSetRpc_endpoints());
builder.append(present_rpc_endpoints);
if (present_rpc_endpoints)
builder.append(rpc_endpoints);
boolean present_endpoint_details = true && (isSetEndpoint_details());
builder.append(present_endpoint_details);
if (present_endpoint_details)
builder.append(endpoint_details);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class WriteResult method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_version = true;
builder.append(present_version);
if (present_version)
builder.append(version);
boolean present_lts = true;
builder.append(present_lts);
if (present_lts)
builder.append(lts);
return builder.toHashCode();
}
Aggregations