use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class Deletion method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_timestamp = true && (isSetTimestamp());
builder.append(present_timestamp);
if (present_timestamp)
builder.append(timestamp);
boolean present_super_column = true && (isSetSuper_column());
builder.append(present_super_column);
if (present_super_column)
builder.append(super_column);
boolean present_predicate = true && (isSetPredicate());
builder.append(present_predicate);
if (present_predicate)
builder.append(predicate);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class CounterColumn 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;
builder.append(present_value);
if (present_value)
builder.append(value);
boolean present_deleted_time = true && (isSetDeleted_time());
builder.append(present_deleted_time);
if (present_deleted_time)
builder.append(deleted_time);
boolean present_timestampToCoordinatorKey = true && (isSetTimestampToCoordinatorKey());
builder.append(present_timestampToCoordinatorKey);
if (present_timestampToCoordinatorKey)
builder.append(timestampToCoordinatorKey);
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);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project eiger by wlloyd.
the class CounterSuperColumn 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 CqlResult method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_type = true && (isSetType());
builder.append(present_type);
if (present_type)
builder.append(type.getValue());
boolean present_rows = true && (isSetRows());
builder.append(present_rows);
if (present_rows)
builder.append(rows);
boolean present_num = true && (isSetNum());
builder.append(present_num);
if (present_num)
builder.append(num);
boolean present_schema = true && (isSetSchema());
builder.append(present_schema);
if (present_schema)
builder.append(schema);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftTaskTrackerStatus method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_trackerName = true && (isSetTrackerName());
builder.append(present_trackerName);
if (present_trackerName)
builder.append(trackerName);
boolean present_host = true && (isSetHost());
builder.append(present_host);
if (present_host)
builder.append(host);
boolean present_httpPort = true;
builder.append(present_httpPort);
if (present_httpPort)
builder.append(httpPort);
boolean present_failureCount = true;
builder.append(present_failureCount);
if (present_failureCount)
builder.append(failureCount);
boolean present_taskReports = true && (isSetTaskReports());
builder.append(present_taskReports);
if (present_taskReports)
builder.append(taskReports);
boolean present_lastSeen = true;
builder.append(present_lastSeen);
if (present_lastSeen)
builder.append(lastSeen);
boolean present_maxMapTasks = true;
builder.append(present_maxMapTasks);
if (present_maxMapTasks)
builder.append(maxMapTasks);
boolean present_maxReduceTasks = true;
builder.append(present_maxReduceTasks);
if (present_maxReduceTasks)
builder.append(maxReduceTasks);
boolean present_totalVirtualMemory = true;
builder.append(present_totalVirtualMemory);
if (present_totalVirtualMemory)
builder.append(totalVirtualMemory);
boolean present_totalPhysicalMemory = true;
builder.append(present_totalPhysicalMemory);
if (present_totalPhysicalMemory)
builder.append(totalPhysicalMemory);
boolean present_availableSpace = true;
builder.append(present_availableSpace);
if (present_availableSpace)
builder.append(availableSpace);
boolean present_mapCount = true;
builder.append(present_mapCount);
if (present_mapCount)
builder.append(mapCount);
boolean present_reduceCount = true;
builder.append(present_reduceCount);
if (present_reduceCount)
builder.append(reduceCount);
return builder.toHashCode();
}
Aggregations