Example usage for java.util Objects hashCode

List of usage examples for java.util Objects hashCode

Introduction

In this page you can find the example usage for java.util Objects hashCode.

Prototype

public static int hashCode(Object o) 

Source Link

Document

Returns the hash code of a non- null argument and 0 for a null argument.

Usage

From source file:com.redhat.lightblue.config.rdbms.RDBMSDataSourceConfiguration.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 37 * hash + Objects.hashCode(this.dataSourceJDNIMap);
    hash = 37 * hash + Objects.hashCode(this.databaseName);
    hash = 37 * hash + Objects.hashCode(this.metadataDataStoreParser);
    return hash;//from   w w  w.  j a  v a2  s .  c o m
}

From source file:edu.usu.sdl.openstorefront.core.entity.AttributeCode.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 79 * hash + Objects.hashCode(this.attributeCodePk);
    hash = 79 * hash + Objects.hashCode(this.label);
    hash = 79 * hash + Objects.hashCode(this.description);
    hash = 79 * hash + Objects.hashCode(this.architectureCode);
    hash = 79 * hash + Objects.hashCode(this.badgeUrl);
    hash = 79 * hash + Objects.hashCode(this.article);
    hash = 79 * hash + Objects.hashCode(this.detailUrl);
    hash = 79 * hash + Objects.hashCode(this.groupCode);
    hash = 79 * hash + Objects.hashCode(this.sortOrder);
    return hash;//from  ww  w.  j a  v  a 2  s.c  o  m
}

From source file:channellistmaker.dataextractor.KeyFields.java

@Override
public int hashCode() {
    int hash = 3;
    hash = 11 * hash + Objects.hashCode(this.channelId);
    hash = 11 * hash + this.transportStreamId;
    hash = 11 * hash + this.originalNetworkId;
    hash = 11 * hash + this.serviceId;
    return hash;/*from w  ww . java  2  s .  c  o  m*/
}

From source file:com.javiermoreno.springboot.mvc.users.DailyUser.java

@Override
public int hashCode() {
    int hash = 3;
    hash = 79 * hash + Objects.hashCode(this.email);
    return hash;
}

From source file:com.plan.proyecto.beans.Cuenta.java

@Override
public int hashCode() {
    int hash = 3;
    hash = 79 * hash + Objects.hashCode(this.id);
    hash = 79 * hash + Objects.hashCode(this.email);
    hash = 79 * hash + Objects.hashCode(this.password);
    hash = 79 * hash + Objects.hashCode(this.nombre);
    hash = 79 * hash + Objects.hashCode(this.apellidos);
    hash = 79 * hash + Objects.hashCode(this.fechaNacimiento);
    hash = 79 * hash + Objects.hashCode(this.contenidos);
    hash = 79 * hash + Objects.hashCode(this.amigos);
    return hash;//from  w ww  .  j  a v  a2s .  co  m
}

From source file:fr.itldev.koya.model.impl.User.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 31 * hash + Objects.hashCode(this.userName);
    return hash;
}

From source file:fr.landel.utils.commons.tuple.PairIso.java

/**
 * <p>/*from   w w  w  .j  av  a2 s . c om*/
 * Returns a suitable hash code. The hash code follows the definition in
 * {@code Map.Entry}.
 * </p>
 * 
 * @return the hash code
 */
@Override
public int hashCode() {
    // see Map.Entry API specification
    return Objects.hashCode(this.getKey()) ^ Objects.hashCode(this.getValue());
}

From source file:com.offbynull.voip.kademlia.model.ActivityChangeSet.java

@Override
public int hashCode() {
    int hash = 3;
    hash = 47 * hash + Objects.hashCode(this.removed);
    hash = 47 * hash + Objects.hashCode(this.added);
    hash = 47 * hash + Objects.hashCode(this.updated);
    return hash;//w  w w  .j  a va2s  .  c  o m
}

From source file:com.dhenton9000.birt.persistence.entities.Orders.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 79 * hash + Objects.hashCode(this.getOrderNumber());
    return hash;//  ww w.ja  va 2  s  . co m
}

From source file:com.anhth12.word2vec.VocabWord.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 41 * hash + Objects.hashCode(this.wordFrequency);
    hash = 41 * hash + this.index;
    hash = 41 * hash + Objects.hashCode(this.codes);
    hash = 41 * hash + Objects.hashCode(this.word);
    hash = 41 * hash + Objects.hashCode(this.historicalGradient);
    hash = 41 * hash + Objects.hashCode(this.points);
    hash = 41 * hash + this.codeLength;
    return hash;/* w w  w .  j  a  v  a 2s.c o  m*/
}