Search in sources :

Example 41 with HashCodeBuilder

use of org.apache.commons.lang.builder.HashCodeBuilder in project POL-POM-5 by PlayOnLinux.

the class TeeRepository method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(leftRepository);
    builder.append(rightRepository);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang.builder.HashCodeBuilder)

Example 42 with HashCodeBuilder

use of org.apache.commons.lang.builder.HashCodeBuilder in project POL-POM-5 by PlayOnLinux.

the class IconsListElement method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(item);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang.builder.HashCodeBuilder)

Example 43 with HashCodeBuilder

use of org.apache.commons.lang.builder.HashCodeBuilder in project POL-POM-5 by PlayOnLinux.

the class FilterRepository method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(enforceIncompatibleOperatingSystems);
    builder.append(repository);
    builder.append(enforceIncompatibleOperatingSystems);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang.builder.HashCodeBuilder)

Example 44 with HashCodeBuilder

use of org.apache.commons.lang.builder.HashCodeBuilder in project POL-POM-5 by PlayOnLinux.

the class GitRepository method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(gitRepositoryUri);
    builder.append(gitRepositoryLocation);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang.builder.HashCodeBuilder)

Example 45 with HashCodeBuilder

use of org.apache.commons.lang.builder.HashCodeBuilder in project POL-POM-5 by PlayOnLinux.

the class BackgroundRepository method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(delegatedRepository);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang.builder.HashCodeBuilder)

Aggregations

HashCodeBuilder (org.apache.commons.lang.builder.HashCodeBuilder)183 Writable (org.apache.hadoop.io.Writable)1