Java Code Examples for org.apache.commons.lang3.builder.HashCodeBuilder#toHashCode()
The following examples show how to use
org.apache.commons.lang3.builder.HashCodeBuilder#toHashCode() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MockComplexObject.java From jstarcraft-ai with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(id); hash.append(firstName); hash.append(lastName); hash.append(money); hash.append(instant); hash.append(race); hash.append(type); return hash.toHashCode(); }
Example 2
Source File: Float2IntegerKeyValue.java From jstarcraft-core with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(key); hash.append(value); return hash.toHashCode(); }
Example 3
Source File: DefaultHandlerResult.java From springboot-shiro-cas-mybatis with MIT License | 5 votes |
@Override public int hashCode() { final HashCodeBuilder builder = new HashCodeBuilder(109, 31); builder.append(this.handlerName); builder.append(this.credentialMetaData); builder.append(this.principal); builder.append(this.warnings); return builder.toHashCode(); }
Example 4
Source File: MessageTail.java From jstarcraft-core with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(check); hash.append(content); return hash.toHashCode(); }
Example 5
Source File: KeyValue.java From jstarcraft-core with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(key); hash.append(value); return hash.toHashCode(); }
Example 6
Source File: NadamLearner.java From jstarcraft-ai with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(beta1); hash.append(beta2); hash.append(epsilon); hash.append(learnSchedule); return hash.toHashCode(); }
Example 7
Source File: KickstartCommandName.java From uyuni with GNU General Public License v2.0 | 5 votes |
/** * {@inheritDoc} */ @Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); builder.append(getName()); builder.append(getArgs()); builder.append(getOrder()); builder.append(getRequired()); return builder.toHashCode(); }
Example 8
Source File: Address.java From jpa-unit with Apache License 2.0 | 5 votes |
@Override public int hashCode() { final HashCodeBuilder builder = new HashCodeBuilder(); builder.append(street); builder.append(zipCode); builder.append(city); builder.append(country); return builder.toHashCode(); }
Example 9
Source File: DefaultMessageDescriptor.java From springboot-shiro-cas-mybatis with MIT License | 5 votes |
@Override public int hashCode() { final HashCodeBuilder builder = new HashCodeBuilder(99, 31); builder.append(this.code); builder.append(this.defaultMessage); builder.append(this.params); return builder.toHashCode(); }
Example 10
Source File: ContactDetail.java From jpa-unit with Apache License 2.0 | 5 votes |
@Override public int hashCode() { final HashCodeBuilder builder = new HashCodeBuilder(); builder.append(type); builder.append(value); return builder.toHashCode(); }
Example 11
Source File: MockSimpleObject.java From jstarcraft-core with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(id); hash.append(name); return hash.toHashCode(); }
Example 12
Source File: ShareVertex.java From jstarcraft-ai with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(vertexName); hash.append(layer); hash.append(learner); hash.append(normalizer); hash.append(numberOfShares); return hash.toHashCode(); }
Example 13
Source File: EuclideanVertex.java From jstarcraft-ai with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(vertexName); hash.append(epsilon); return hash.toHashCode(); }
Example 14
Source File: SymmetryVector.java From jstarcraft-ai with Apache License 2.0 | 5 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(dimension); hash.append(index); hash.append(data); return hash.toHashCode(); }
Example 15
Source File: OuterProductVertex.java From jstarcraft-ai with Apache License 2.0 | 4 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(vertexName); return hash.toHashCode(); }
Example 16
Source File: Nd4jMatrix.java From jstarcraft-ai with Apache License 2.0 | 4 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(matrix); return hash.toHashCode(); }
Example 17
Source File: CopyParameterFactory.java From jstarcraft-ai with Apache License 2.0 | 4 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(copy); return hash.toHashCode(); }
Example 18
Source File: HibernateApiFetchStrategyTest.java From hibernate-master-class with Apache License 2.0 | 4 votes |
@Override public int hashCode() { HashCodeBuilder hcb = new HashCodeBuilder(); hcb.append(product); return hcb.toHashCode(); }
Example 19
Source File: FormatDefinition.java From jstarcraft-core with Apache License 2.0 | 4 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(name); return hash.toHashCode(); }
Example 20
Source File: Pack.java From jstarcraft-core with Apache License 2.0 | 4 votes |
@Override public int hashCode() { HashCodeBuilder hash = new HashCodeBuilder(); hash.append(getId()); return hash.toHashCode(); }