List of usage examples for com.google.common.primitives Longs hashCode
public static int hashCode(long value)
From source file:com.comphenix.protocol.async.AsyncMarker.java
@Override public int hashCode() { return Longs.hashCode(getNewSendingIndex()); }
From source file:org.apache.tajo.datum.IntervalDatum.java
@Override public int hashCode() { return Longs.hashCode(asInt8()); }
From source file:org.midonet.odp.FlowMatch.java
@Override public int hashCode() { if (hashCode == 0) { int result = Longs.hashCode(usedFields); for (Field f : fields) { if (isUsed(f)) result = 31 * result + f.hashCode(this); }// www. j a v a2 s .co m hashCode = result; } return hashCode; }