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

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

源代码1 项目: stratio-cassandra   文件: CfSplit.java

@Override
public int hashCode() {
  HashCodeBuilder builder = new HashCodeBuilder();

  boolean present_start_token = true && (isSetStart_token());
  builder.append(present_start_token);
  if (present_start_token)
    builder.append(start_token);

  boolean present_end_token = true && (isSetEnd_token());
  builder.append(present_end_token);
  if (present_end_token)
    builder.append(end_token);

  boolean present_row_count = true;
  builder.append(present_row_count);
  if (present_row_count)
    builder.append(row_count);

  return builder.toHashCode();
}
 
源代码2 项目: flutter-intellij   文件: FlutterOutline.java

@Override
public int hashCode() {
  HashCodeBuilder builder = new HashCodeBuilder();
  builder.append(kind);
  builder.append(offset);
  builder.append(length);
  builder.append(codeOffset);
  builder.append(codeLength);
  builder.append(label);
  builder.append(dartElement);
  builder.append(attributes);
  builder.append(className);
  builder.append(parentAssociationLabel);
  builder.append(variableName);
  builder.append(children);
  return builder.toHashCode();
}
 
源代码3 项目: sailfish-core   文件: Alert.java

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    
    builder.append(super.hashCode());
    builder.append(line);
    builder.append(reference);
    
    return builder.toHashCode();
}
 
源代码4 项目: jpa-unit   文件: ContactDetail.java

@Override
public int hashCode() {
    final HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(type);
    builder.append(value);
    return builder.toHashCode();
}
 
源代码5 项目: jstarcraft-core   文件: ScriptContext.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(contextClasses);
    hash.append(contextMethods);
    return hash.toHashCode();
}
 
源代码6 项目: stratio-cassandra   文件: ColumnDef.java

@Override
public int hashCode() {
  HashCodeBuilder builder = new HashCodeBuilder();

  boolean present_name = true && (isSetName());
  builder.append(present_name);
  if (present_name)
    builder.append(name);

  boolean present_validation_class = true && (isSetValidation_class());
  builder.append(present_validation_class);
  if (present_validation_class)
    builder.append(validation_class);

  boolean present_index_type = true && (isSetIndex_type());
  builder.append(present_index_type);
  if (present_index_type)
    builder.append(index_type.getValue());

  boolean present_index_name = true && (isSetIndex_name());
  builder.append(present_index_name);
  if (present_index_name)
    builder.append(index_name);

  boolean present_index_options = true && (isSetIndex_options());
  builder.append(present_index_options);
  if (present_index_options)
    builder.append(index_options);

  return builder.toHashCode();
}
 
源代码7 项目: 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();
}
 
源代码8 项目: sailfish-core   文件: SailfishURI.java

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    builder.append(StringUtils.lowerCase(pluginAlias));
    builder.append(StringUtils.lowerCase(classAlias));
    builder.append(StringUtils.lowerCase(resourceName));

    return builder.toHashCode();
}
 
源代码9 项目: jstarcraft-ai   文件: InverseSchedule.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(scheduleType);
    hash.append(initialValue);
    hash.append(gamma);
    hash.append(power);
    return hash.toHashCode();
}
 
源代码10 项目: 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();
}
 
源代码11 项目: jstarcraft-ai   文件: EuclideanVertex.java

@Override
public int hashCode() {
    HashCodeBuilder hash = new HashCodeBuilder();
    hash.append(vertexName);
    hash.append(epsilon);
    return hash.toHashCode();
}
 
源代码12 项目: uyuni   文件: RepoInfo.java

/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(name);
    builder.append(baseUrl);
    return builder.toHashCode();
}
 
源代码13 项目: sailfish-core   文件: UtilityInfo.java

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    builder.append(uri);
    builder.append(parameterNames);
    builder.append(parameterTypes);
    builder.append(returnType);
    builder.append(description);

    return builder.toHashCode();
}
 

@Override
public int hashCode() {
    HashCodeBuilder hcb = new HashCodeBuilder();
    hcb.append(type);
    hcb.append(image);
    return hcb.toHashCode();
}
 
源代码15 项目: jstarcraft-core   文件: CsvObject.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(list);
    return hash.toHashCode();
}
 

@Override
protected int lineHashCode(String[] values) {
	HashCodeBuilder hb = new HashCodeBuilder(1249046965, -82296885);
	Iterator<Integer> stratificationTagIndexIt = stratificationTagIndexMap.keySet().iterator();
	while (stratificationTagIndexIt.hasNext()) {
		hb.append(getColumnValue(values, stratificationTagIndexIt.next()));
	}
	hb.append(getCode(values));
	return hb.toHashCode();
}
 

@Override
public int hashCode() {
  HashCodeBuilder builder = new HashCodeBuilder();

  boolean present_credentials = true && (isSetCredentials());
  builder.append(present_credentials);
  if (present_credentials)
    builder.append(credentials);

  return builder.toHashCode();
}
 

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

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

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