use of org.apache.commons.lang.builder.HashCodeBuilder in project POL-POM-5 by PlayOnLinux.
the class CachedRepository method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
builder.append(repository);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project POL-POM-5 by PlayOnLinux.
the class LocalRepository method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
builder.append(repositoryDirectory);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project symmetric-ds by JumpMind.
the class Column method hashCode.
/**
* {@inheritDoc}
*/
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder(17, 37);
builder.append(name);
builder.append(primaryKey);
builder.append(required);
builder.append(autoIncrement);
builder.append(mappedTypeCode);
builder.append(mappedType);
builder.append(scale);
builder.append(getParsedDefaultValue());
if (!TypeMap.isNumericType(mappedTypeCode)) {
builder.append(size);
}
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project crunch by cloudera.
the class AvroType method hashCode.
@Override
public int hashCode() {
HashCodeBuilder hcb = new HashCodeBuilder();
hcb.append(typeClass).append(subTypes);
return hcb.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project vladmihalcea.wordpress.com by vladmihalcea.
the class WarehouseProductInfo method hashCode.
@Override
public int hashCode() {
HashCodeBuilder hcb = new HashCodeBuilder();
hcb.append(product);
return hcb.toHashCode();
}
Aggregations