use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftJobCounterRollups method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_mapCounters = true && (isSetMapCounters());
builder.append(present_mapCounters);
if (present_mapCounters)
builder.append(mapCounters);
boolean present_reduceCounters = true && (isSetReduceCounters());
builder.append(present_reduceCounters);
if (present_reduceCounters)
builder.append(reduceCounters);
boolean present_jobCounters = true && (isSetJobCounters());
builder.append(present_jobCounters);
if (present_jobCounters)
builder.append(jobCounters);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftJobInProgress method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_profile = true && (isSetProfile());
builder.append(present_profile);
if (present_profile)
builder.append(profile);
boolean present_status = true && (isSetStatus());
builder.append(present_status);
if (present_status)
builder.append(status);
boolean present_jobID = true && (isSetJobID());
builder.append(present_jobID);
if (present_jobID)
builder.append(jobID);
boolean present_desiredMaps = true;
builder.append(present_desiredMaps);
if (present_desiredMaps)
builder.append(desiredMaps);
boolean present_desiredReduces = true;
builder.append(present_desiredReduces);
if (present_desiredReduces)
builder.append(desiredReduces);
boolean present_finishedMaps = true;
builder.append(present_finishedMaps);
if (present_finishedMaps)
builder.append(finishedMaps);
boolean present_finishedReduces = true;
builder.append(present_finishedReduces);
if (present_finishedReduces)
builder.append(finishedReduces);
boolean present_priority = true && (isSetPriority());
builder.append(present_priority);
if (present_priority)
builder.append(priority.getValue());
boolean present_startTime = true;
builder.append(present_startTime);
if (present_startTime)
builder.append(startTime);
boolean present_finishTime = true;
builder.append(present_finishTime);
if (present_finishTime)
builder.append(finishTime);
boolean present_launchTime = true;
builder.append(present_launchTime);
if (present_launchTime)
builder.append(launchTime);
boolean present_tasks = true && (isSetTasks());
builder.append(present_tasks);
if (present_tasks)
builder.append(tasks);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftJobList method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_jobs = true && (isSetJobs());
builder.append(present_jobs);
if (present_jobs)
builder.append(jobs);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftJobProfile method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_user = true && (isSetUser());
builder.append(present_user);
if (present_user)
builder.append(user);
boolean present_jobID = true && (isSetJobID());
builder.append(present_jobID);
if (present_jobID)
builder.append(jobID);
boolean present_jobFile = true && (isSetJobFile());
builder.append(present_jobFile);
if (present_jobFile)
builder.append(jobFile);
boolean present_name = true && (isSetName());
builder.append(present_name);
if (present_name)
builder.append(name);
boolean present_queueName = true && (isSetQueueName());
builder.append(present_queueName);
if (present_queueName)
builder.append(queueName);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftJobQueueInfo method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_queueName = true && (isSetQueueName());
builder.append(present_queueName);
if (present_queueName)
builder.append(queueName);
boolean present_schedulingInfo = true && (isSetSchedulingInfo());
builder.append(present_schedulingInfo);
if (present_schedulingInfo)
builder.append(schedulingInfo);
return builder.toHashCode();
}
Aggregations