Example usage for org.apache.commons.lang3.builder HashCodeBuilder HashCodeBuilder

List of usage examples for org.apache.commons.lang3.builder HashCodeBuilder HashCodeBuilder

Introduction

In this page you can find the example usage for org.apache.commons.lang3.builder HashCodeBuilder HashCodeBuilder.

Prototype

public HashCodeBuilder() 

Source Link

Document

Uses two hard coded choices for the constants needed to build a hashCode.

Usage

From source file:com.flowpowered.filesystem.ResourceLoader.java

@Override
public int hashCode() {
    return new HashCodeBuilder().append(scheme).build();
}

From source file:com.sonicle.webtop.core.bol.AssignedGroup.java

@Override
public int hashCode() {
    return new HashCodeBuilder().append(getUserAssociationId()).append(getGroupUid()).toHashCode();
}

From source file:io.lavagna.model.User.java

@Override
public int hashCode() {
    return new HashCodeBuilder().append(id).append(provider).append(username).append(email).append(displayName)
            .append(enabled).append(emailNotification).append(skipOwnNotifications).toHashCode();
}

From source file:de.qaware.chronix.solr.query.analysis.functions.transformation.Timeshift.java

@Override
public int hashCode() {
    return new HashCodeBuilder().append(unit).append(amount).toHashCode();
}

From source file:com.btmatthews.atlas.core.domain.i18n.Localized.java

/**
 * Calculate a hash code for this localized value.
 *
 * @return The hash code.// ww  w .  j a  v  a 2 s.  com
 */
@Override
public int hashCode() {
    return new HashCodeBuilder().append(values).toHashCode();
}

From source file:de.kaiserpfalzEdv.vaadin.event.NotificationPayload.java

@Override
public int hashCode() {
    return new HashCodeBuilder().append(caption).append(description).append(icon).toHashCode();
}

From source file:intec.sli.iwstudy.teamcalendar.domain.model.Event.java

@Override
public int hashCode() {
    return new HashCodeBuilder().append(id).append(from).append(to).append(text).toHashCode();
}

From source file:com.cognifide.qa.bb.aem.dialog.configurer.ConfigurationEntry.java

@Override
public int hashCode() {
    return new HashCodeBuilder().append(this.tab).append(this.type).append(this.label).append(this.value)
            .toHashCode();//www. j a  v  a  2 s.  c om
}

From source file:com.deegeu.facebook.messenger.model.send.PassengerInfo.java

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