List of usage examples for java.util Objects hashCode
public static int hashCode(Object o)
From source file:fr.landel.utils.assertor.predicate.PredicateAssertorArrayTest.java
/** * Test method for {@link AssertorArray} . */// w w w .j a v a 2 s . c om @Test public void testPredicateGet() { String[] array = new String[] { null, "2" }; assertFalse(Assertor.ofArray().hasHashCode(0).that(array).isOK()); assertTrue(Assertor.ofArray().hasHashCode(Objects.hashCode((Object[]) array)).that(array).isOK()); }
From source file:uk.ac.ebi.ep.pdbeadapter.publication.AuthorList.java
@Override public int hashCode() { int hash = 7; hash = 17 * hash + Objects.hashCode(this.fullName); return hash; }
From source file:org.nosphere.honker.deptree.DepTreeData.java
@Override public int hashCode() { int hash = 7; hash = 71 * hash + Objects.hashCode(this.coordinates); hash = 71 * hash + Objects.hashCode(this.artifacts); return hash;//from ww w .ja va2 s . c o m }
From source file:ch.algotrader.cache.EntityCacheSubKey.java
@Override public int hashCode() { int hash = super.hashCode(); hash = hash * 37 + Objects.hashCode(this.key); return hash;/*from ww w . j av a 2s . c om*/ }
From source file:dk.dma.navnet.messages.TransportMessage.java
public int hashCode() { return Objects.hashCode(rawMessage); }
From source file:com.mycompany.loginApp.entities.User.java
@Override public int hashCode() { int hash = 7; hash = 19 * hash + Objects.hashCode(this.username); return hash; }
From source file:pl.lodz.p.edu.ftims.poi.poi.entities.Department.java
@Override public int hashCode() { int hash = 7; hash = 23 * hash + Objects.hashCode(this.ID); return hash; }
From source file:io.github.jeddict.snippet.Snippet.java
@Override public int hashCode() { int hash = 7; hash = 53 * hash + Objects.hashCode(this.getLocationType()); return hash;//from ww w . jav a 2 s. c om }
From source file:com.javaeeeee.dwstart.core.Greeting.java
@Override public int hashCode() { int hash = 3; hash = 59 * hash + Objects.hashCode(this.greeting); return hash; }
From source file:com.github.lothar.security.acl.elasticsearch.domain.Customer.java
@Override public int hashCode() { return Objects.hashCode(id); }