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:edu.temple.cis3238.wiki.vo.TopicVO.java

@Override
public int hashCode() {
    int hash = 5;
    hash = 59 * hash + this.revisions;
    hash = 59 * hash + Objects.hashCode(this.getTopicContent());
    hash = 59 * hash + this.topicID;
    hash = 59 * hash + Objects.hashCode(this.getTopicName());
    return hash;/*from   w ww . j  a va  2s . c om*/
}

From source file:org.apache.hadoop.fs.nfs.NFSv3FileSystemStore.java

@Override
public int hashCode() {
    int hash = 5;
    hash = 61 * hash + Objects.hashCode(this.fs);
    hash = 61 * hash + Objects.hashCode(this.space);
    hash = 61 * hash + Objects.hashCode(this.fsId);
    return hash;/*from  w  w  w.  ja  va 2 s  .  c  om*/
}

From source file:de.bund.bfr.pmfml.sbml.UncertaintiesImpl.java

@Override
public int hashCode() {
    return Objects.hashCode(props);
}

From source file:org.davidmendoza.esu.model.Inicio.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 29 * hash + Objects.hashCode(this.getAnio());
    hash = 29 * hash + Objects.hashCode(this.getTrimestre());
    hash = 29 * hash + Objects.hashCode(this.getLeccion());
    hash = 29 * hash + Objects.hashCode(this.getDia());
    return hash;/*from  ww w.  j a  va2s .  c o m*/
}

From source file:ru.codemine.ccms.entity.Employee.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 17 * hash + Objects.hashCode(this.id);
    hash = 17 * hash + Objects.hashCode(this.firstName);
    hash = 17 * hash + Objects.hashCode(this.lastName);
    hash = 17 * hash + Objects.hashCode(this.email);
    return hash;// ww w .  j ava  2  s.c  om
}

From source file:com.qcadoo.commons.functional.LazyStream.java

@Override
public int hashCode() {
    return Objects.hashCode(stream);
}

From source file:org.projectbuendia.client.models.ObsValue.java

@Override
public int hashCode() {
    return Objects.hashCode(number) // hash only the final fields
            + Objects.hashCode(text) + Objects.hashCode(uuid) + Objects.hashCode(date)
            + Objects.hashCode(instant);
}

From source file:de.digiway.rapidbreeze.client.model.download.DownloadModel.java

@Override
public int hashCode() {
    int hash = 5;
    hash = 37 * hash + Objects.hashCode(this.identifier);
    return hash;
}

From source file:br.org.gdt.beans.GchFormularioBean.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 83 * hash + Objects.hashCode(this.gchFormularioService);
    hash = 83 * hash + Objects.hashCode(this.gchAlternativasService);
    hash = 83 * hash + Objects.hashCode(this.gchAlternativasPerguntaService);
    hash = 83 * hash + Objects.hashCode(this.gchPerguntasService);
    return hash;/*from  ww w  . j  a v  a2  s.c o  m*/
}

From source file:sonicScream.models.Profile.java

@Override
public int hashCode() {
    int hash = 7;
    hash = 83 * hash + Objects.hashCode(this.profileName);
    hash = 83 * hash + Objects.hashCode(this.profileDescription);
    hash = 83 * hash + Objects.hashCode(this._categories);
    return hash;//from  w ww.ja v a  2 s.  co  m
}