use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class QuotaException method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_msg = true && (isSetMsg());
builder.append(present_msg);
if (present_msg)
builder.append(msg);
boolean present_stack = true && (isSetStack());
builder.append(present_stack);
if (present_stack)
builder.append(stack);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class StackTraceElement method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_className = true && (isSetClassName());
builder.append(present_className);
if (present_className)
builder.append(className);
boolean present_fileName = true && (isSetFileName());
builder.append(present_fileName);
if (present_fileName)
builder.append(fileName);
boolean present_lineNumber = true;
builder.append(present_lineNumber);
if (present_lineNumber)
builder.append(lineNumber);
boolean present_methodName = true && (isSetMethodName());
builder.append(present_methodName);
if (present_methodName)
builder.append(methodName);
boolean present_isNativeMethod = true;
builder.append(present_isNativeMethod);
if (present_isNativeMethod)
builder.append(isNativeMethod);
boolean present_stringRepresentation = true && (isSetStringRepresentation());
builder.append(present_stringRepresentation);
if (present_stringRepresentation)
builder.append(stringRepresentation);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftDelegationToken method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_delegationTokenBytes = true && (isSetDelegationTokenBytes());
builder.append(present_delegationTokenBytes);
if (present_delegationTokenBytes)
builder.append(delegationTokenBytes);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project Honu by jboulon.
the class Result method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_resultCode = true;
builder.append(present_resultCode);
if (present_resultCode)
builder.append(resultCode);
boolean present_message = true && (isSetMessage());
builder.append(present_message);
if (present_message)
builder.append(message);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project Honu by jboulon.
the class TChunk method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_source = true && (isSetSource());
builder.append(present_source);
if (present_source)
builder.append(source);
boolean present_streamName = true && (isSetStreamName());
builder.append(present_streamName);
if (present_streamName)
builder.append(streamName);
boolean present_application = true && (isSetApplication());
builder.append(present_application);
if (present_application)
builder.append(application);
boolean present_dataType = true && (isSetDataType());
builder.append(present_dataType);
if (present_dataType)
builder.append(dataType);
boolean present_tags = true && (isSetTags());
builder.append(present_tags);
if (present_tags)
builder.append(tags);
boolean present_seqId = true;
builder.append(present_seqId);
if (present_seqId)
builder.append(seqId);
boolean present_logEvents = true && (isSetLogEvents());
builder.append(present_logEvents);
if (present_logEvents)
builder.append(logEvents);
return builder.toHashCode();
}
Aggregations