use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class Column 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_value = true && (isSetValue());
builder.append(present_value);
if (present_value)
builder.append(value);
boolean present_timestamp = true && (isSetTimestamp());
builder.append(present_timestamp);
if (present_timestamp)
builder.append(timestamp);
boolean present_ttl = true && (isSetTtl());
builder.append(present_ttl);
if (present_ttl)
builder.append(ttl);
boolean present_deleted_time = true && (isSetDeleted_time());
builder.append(present_deleted_time);
if (present_deleted_time)
builder.append(deleted_time);
boolean present_earliest_valid_time = true && (isSetEarliest_valid_time());
builder.append(present_earliest_valid_time);
if (present_earliest_valid_time)
builder.append(earliest_valid_time);
boolean present_latest_valid_time = true && (isSetLatest_valid_time());
builder.append(present_latest_valid_time);
if (present_latest_valid_time)
builder.append(latest_valid_time);
boolean present_transactionCoordinatorKey = true && (isSetTransactionCoordinatorKey());
builder.append(present_transactionCoordinatorKey);
if (present_transactionCoordinatorKey)
builder.append(transactionCoordinatorKey);
boolean present_first_round_was_valid = true && (isSetFirst_round_was_valid());
builder.append(present_first_round_was_valid);
if (present_first_round_was_valid)
builder.append(first_round_was_valid);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class ColumnOrSuperColumn method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_column = true && (isSetColumn());
builder.append(present_column);
if (present_column)
builder.append(column);
boolean present_super_column = true && (isSetSuper_column());
builder.append(present_super_column);
if (present_super_column)
builder.append(super_column);
boolean present_counter_column = true && (isSetCounter_column());
builder.append(present_counter_column);
if (present_counter_column)
builder.append(counter_column);
boolean present_counter_super_column = true && (isSetCounter_super_column());
builder.append(present_counter_super_column);
if (present_counter_super_column)
builder.append(counter_super_column);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class ColumnParent method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_column_family = true && (isSetColumn_family());
builder.append(present_column_family);
if (present_column_family)
builder.append(column_family);
boolean present_super_column = true && (isSetSuper_column());
builder.append(present_super_column);
if (present_super_column)
builder.append(super_column);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class ColumnPath method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_column_family = true && (isSetColumn_family());
builder.append(present_column_family);
if (present_column_family)
builder.append(column_family);
boolean present_super_column = true && (isSetSuper_column());
builder.append(present_super_column);
if (present_super_column)
builder.append(super_column);
boolean present_column = true && (isSetColumn());
builder.append(present_column);
if (present_column)
builder.append(column);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class CountWithMetadata method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_count = true;
builder.append(present_count);
if (present_count)
builder.append(count);
boolean present_earliest_valid_time = true;
builder.append(present_earliest_valid_time);
if (present_earliest_valid_time)
builder.append(earliest_valid_time);
boolean present_latest_valid_time = true;
builder.append(present_latest_valid_time);
if (present_latest_valid_time)
builder.append(latest_valid_time);
boolean present_deps = true && (isSetDeps());
builder.append(present_deps);
if (present_deps)
builder.append(deps);
return builder.toHashCode();
}
Aggregations