org.apache.commons.lang3.builder.HashCodeBuilder# toHashCode ( ) 源码实例Demo

下面列出了org.apache.commons.lang3.builder.HashCodeBuilder# toHashCode ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: jstarcraft-ai   文件: MockComplexObject.java

@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();
}
 
源代码2 项目: jstarcraft-ai   文件: SymmetryVector.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(dimension);
    hash.append(index);
    hash.append(data);
    return hash.toHashCode();
}
 
源代码3 项目: jstarcraft-ai   文件: EuclideanVertex.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(vertexName);
    hash.append(epsilon);
    return hash.toHashCode();
}
 
源代码4 项目: jstarcraft-ai   文件: ShareVertex.java

@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();
}
 

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(id);
    hash.append(name);
    return hash.toHashCode();
}
 
源代码6 项目: jpa-unit   文件: ContactDetail.java

@Override
public int hashCode() {
    final HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(type);
    builder.append(value);
    return builder.toHashCode();
}
 

@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();
}
 
源代码8 项目: jpa-unit   文件: Address.java

@Override
public int hashCode() {
    final HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(street);
    builder.append(zipCode);
    builder.append(city);
    builder.append(country);
    return builder.toHashCode();
}
 
源代码9 项目: uyuni   文件: KickstartCommandName.java

/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(getName());
    builder.append(getArgs());
    builder.append(getOrder());
    builder.append(getRequired());
    return builder.toHashCode();
}
 
源代码10 项目: jstarcraft-ai   文件: NadamLearner.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(beta1);
    hash.append(beta2);
    hash.append(epsilon);
    hash.append(learnSchedule);
    return hash.toHashCode();
}
 
源代码11 项目: jstarcraft-core   文件: KeyValue.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(key);
    hash.append(value);
    return hash.toHashCode();
}
 
源代码12 项目: jstarcraft-core   文件: MessageTail.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(check);
    hash.append(content);
    return hash.toHashCode();
}
 

@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();
}
 

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(key);
    hash.append(value);
    return hash.toHashCode();
}
 
源代码15 项目: jstarcraft-core   文件: Pack.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(getId());
    return hash.toHashCode();
}
 

@Override
public int hashCode() {
    HashCodeBuilder hcb = new HashCodeBuilder();
    hcb.append(product);
    return hcb.toHashCode();
}
 
源代码17 项目: jstarcraft-ai   文件: OuterProductVertex.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(vertexName);
    return hash.toHashCode();
}
 
源代码18 项目: jstarcraft-ai   文件: Nd4jMatrix.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(matrix);
    return hash.toHashCode();
}
 

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(copy);
    return hash.toHashCode();
}
 
源代码20 项目: jstarcraft-core   文件: FormatDefinition.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(name);
    return hash.toHashCode();
}