List of usage examples for java.util Objects hashCode
public static int hashCode(Object o)
From source file:com.monco.calendarofveeshan.RaidTarget.java
@Override public int hashCode() { int hash = 7; hash = 71 * hash + Objects.hashCode(this.mobName); hash = 71 * hash + Objects.hashCode(this.rClass); hash = 71 * hash + Objects.hashCode(this.lockouts); return hash;//w w w. j av a2 s .c o m }
From source file:org.xenmaster.monitoring.engine.Slot.java
@Override public int hashCode() { int hash = 7; hash = 41 * hash + Objects.hashCode(this.reference); hash = 41 * hash + (int) (this.lastPolled ^ (this.lastPolled >>> 32)); return hash;/* w w w.ja v a 2 s. c o m*/ }
From source file:org.n52.shetland.ogc.om.PointValuePair.java
@Override public int hashCode() { int hash = super.hashCode(); hash = 37 * hash + Objects.hashCode(this.getPoint()); hash = 37 * hash + Objects.hashCode(this.getValue()); return hash;/*w w w . ja v a2s . co m*/ }
From source file:th.co.geniustree.dental.model.Product.java
@Override public int hashCode() { int hash = 7; hash = 59 * hash + Objects.hashCode(this.id); return hash; }
From source file:org.apache.nifi.authorization.user.StandardNiFiUser.java
@Override public int hashCode() { int hash = 7; hash = 53 * hash + Objects.hashCode(this.identity); return hash; }
From source file:net.bluemix.connectors.core.info.CloudantServiceInfo.java
@Override public int hashCode() { int hash = 7; hash = 47 * hash + Objects.hashCode(this.username); hash = 47 * hash + Objects.hashCode(this.password); hash = 47 * hash + Objects.hashCode(this.host); hash = 47 * hash + this.port; hash = 47 * hash + Objects.hashCode(this.url); return hash;//from ww w. j a v a 2 s . c om }
From source file:fr.landel.utils.assertor.predicate.PredicateAssertorIterableTest.java
/** * Test method for {@link AssertorIterable} . *///ww w.j av a 2 s. c om @Test public void testPredicateGet() { final String el = "element"; final Set<String> set = new HashSet<>(); set.add(el); final List<String> list = new ArrayList<>(); list.add(el); final Queue<String> queue = new LinkedList<>(); queue.add(el); assertFalse(Assertor.<Set<String>, String>ofIterable().hasHashCode(0).that(set).isOK()); assertTrue(Assertor.<Set<String>, String>ofIterable().hasHashCode(Objects.hashCode(set)).that(set).isOK()); assertFalse(Assertor.<String>ofSet().hasHashCode(0).that(set).isOK()); assertFalse(Assertor.<String>ofList().hasHashCode(0).that(list).isOK()); assertFalse(Assertor.<String>ofQueue().hasHashCode(0).that(queue).isOK()); }
From source file:edu.temple.cis3238.wiki.vo.TagsVO.java
@Override public int hashCode() { int hash = 7; hash = 89 * hash + Objects.hashCode(this.getTagName().toLowerCase().trim()); return hash;/*w w w . j a v a2 s .co m*/ }
From source file:com.github.horrorho.inflatabledonkey.chunk.store.disk.DiskChunk.java
@Override public int hashCode() { int hash = 5; hash = 53 * hash + java.util.Arrays.hashCode(this.checksum); hash = 53 * hash + Objects.hashCode(this.file); return hash;//from w w w .j a v a 2 s.com }
From source file:de.knightsoftnet.validationexample.shared.models.LoginData.java
@Override public final int hashCode() { return Objects.hashCode(this.userName); }