List of usage examples for org.apache.commons.lang.builder HashCodeBuilder HashCodeBuilder
public HashCodeBuilder(int initialNonZeroOddNumber, int multiplierNonZeroOddNumber)
Two randomly chosen, non-zero, odd numbers must be passed in.
From source file:com.enonic.cms.core.structure.portlet.PortletKey.java
public int hashCode() { return new HashCodeBuilder(325, 237).append(intValue).toHashCode(); }
From source file:com.enonic.cms.core.content.category.UnitKey.java
public int hashCode() { return new HashCodeBuilder(837, 661).append(toInt()).toHashCode(); }
From source file:com.enonic.cms.core.content.RelatedContentEntity.java
public int hashCode() { return new HashCodeBuilder(435, 575).append(key).toHashCode(); }
From source file:com.enonic.cms.core.structure.menuitem.MenuItemContentEntity.java
public int hashCode() { return new HashCodeBuilder(763, 515).append(key).toHashCode(); }
From source file:com.enonic.cms.core.content.contenttype.ContentHandlerKey.java
public int hashCode() { return new HashCodeBuilder(457, 635).append(toInt()).toHashCode(); }
From source file:com.enonic.cms.core.content.binary.ContentBinaryDataKey.java
public int hashCode() { return new HashCodeBuilder(245, 643).append(intValue).toHashCode(); }
From source file:com.enonic.cms.core.structure.SiteKey.java
public int hashCode() { final int initialNonZeroOddNumber = 657; final int multiplierNonZeroOddNumber = 461; return new HashCodeBuilder(initialNonZeroOddNumber, multiplierNonZeroOddNumber).append(intValue) .toHashCode();//from w w w . j ava 2 s .c om }
From source file:com.enonic.cms.core.content.category.CategoryKey.java
public int hashCode() { return new HashCodeBuilder(483, 547).append(intValue).toHashCode(); }
From source file:com.enonic.cms.core.content.binary.BinaryDataKey.java
public int hashCode() { return new HashCodeBuilder(413, 179).append(intValue).toHashCode(); }
From source file:com.clican.pluto.dataprocess.testbean.BeanB.java
/** * @see java.lang.Object#hashCode()/*from w w w . ja va 2 s.c o m*/ */ public int hashCode() { return new HashCodeBuilder(599513583, -676266319).append(this.id).append(this.testaId).append(this.name) .toHashCode(); }