List of usage examples for org.apache.commons.lang.builder HashCodeBuilder append
public HashCodeBuilder append(short[] array)
Append a hashCode
for a short
array.
From source file:fr.xebia.demo.wicket.blog.data.Comment.java
@Override public int hashCode() { HashCodeBuilder hashCodeBuilder = new HashCodeBuilder(); hashCodeBuilder.append(getId()); hashCodeBuilder.append(getApproved()); hashCodeBuilder.append(getAuthor()); hashCodeBuilder.append(getEmail());//from w ww . j ava 2 s.com hashCodeBuilder.append(getContent()); hashCodeBuilder.append(getDate()); hashCodeBuilder.append(getPostId()); return hashCodeBuilder.toHashCode(); }
From source file:io.cloudslang.score.api.ExecutionPlan.java
@Override public int hashCode() { HashCodeBuilder hashCodeBuilder = new HashCodeBuilder(); hashCodeBuilder.append(this.getFlowUuid()); hashCodeBuilder.append(this.getBeginStep()); hashCodeBuilder.append(this.getName()); hashCodeBuilder.append(this.getLanguage()); hashCodeBuilder.append(this.getSubflowsUUIDs()); hashCodeBuilder.append(this.getSysAccPaths()); hashCodeBuilder.append(this.getSteps()); return new HashCodeBuilder().toHashCode(); }
From source file:net.kamhon.ieagle.function.master.vo.Dept.java
public int hashCode() { HashCodeBuilder hashCode = new HashCodeBuilder(); if (deptId != null) hashCode.append(deptId); return hashCode.toHashCode(); }
From source file:jenkins.plugins.publish_over.BPHostConfiguration.java
protected HashCodeBuilder addToHashCode(final HashCodeBuilder builder) { return builder.append(name).append(hostname).append(username).append(secretPassword).append(remoteRootDir) .append(commonConfig).append(port); }
From source file:cn.newcapec.framework.core.utils.dataUtils.DateMorpherEx.java
public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); builder.append(this.formats); builder.append(this.locale); builder.append(this.lenient); if (super.isUseDefault()) { builder.append(getDefaultValue()); }//from w ww .java 2 s . com return builder.toHashCode(); }
From source file:com.atlassian.jira.util.system.VersionNumber.java
@Override public int hashCode() { // no need to be thread-safe as race is benign, hashCode is idempotent if (hashCode == 0) { final HashCodeBuilder builder = new HashCodeBuilder(); builder.append(major); builder.append(minor);/* www. j a v a 2 s. c o m*/ builder.append(micro); builder.append(qualifier); hashCode = builder.toHashCode(); } return hashCode; }
From source file:eu.datex2.schema._2_0rc2._2_0.Exchange.java
/** * Hash code.// ww w . j av a 2 s . c o m * * @param hashCodeBuilder the hash code builder */ public final void hashCode(final HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getSupplierIdentification()); hashCodeBuilder.append(this.getExchangeExtension()); }
From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrGeoCoordinate.java
/** * Hash code./*from www .j av a 2 s .c o m*/ * * @param hashCodeBuilder the hash code builder */ public final void hashCode(final HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getOpenlrCoordinate()); hashCodeBuilder.append(this.getOpenlrGeoCoordinateExtension()); }
From source file:it.csi.iride2.iridefed.entity.Role.java
@Override public int hashCode() { final HashCodeBuilder builder = new HashCodeBuilder(); builder.append(this.code).append(this.domain); return builder.toHashCode(); }
From source file:net.mikaboshi.intra_mart.tools.log_stats.entity.ExceptionLog.java
@Override public int hashCode() { HashCodeBuilder hashCodeBuilder = new HashCodeBuilder(); hashCodeBuilder.append(this.level); switch (this.groupingType) { case CAUSE:/*from w w w. jav a 2 s. c o m*/ hashCodeBuilder.append(this.getCauseLineOfStackTrace()); break; case FIEST_LINE: hashCodeBuilder.append(this.getFirstLineOfStackTrace()); hashCodeBuilder.append(this.message); break; } return hashCodeBuilder.toHashCode(); }