List of usage examples for java.lang Long hashCode
public static int hashCode(long value)
From source file:net.dv8tion.jda.core.entities.impl.AbstractChannelImpl.java
@Override public int hashCode() { return Long.hashCode(id); }
From source file:org.formix.dsx.XmlElement.java
@Override public int hashCode() { return XmlElement.class.getName().hashCode() ^ Long.hashCode(this.id); }
From source file:repast.simphony.util.collections.OpenLongToDoubleHashMap.java
/** * Compute the hash value of a key/*from www .jav a 2s .c om*/ * @param key key to hash * @return hash value of the key */ private static int hashOf(final long key) { return Long.hashCode(key); }