@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((a == null) ? 0 : a.hashCode()); result = prime * result + ((b == null) ? 0 : b.hashCode()); return result; }
@Override public int hashCode() { int result = 0; result = 31 * result + (which != null ? which.hashCode() : 0); result = 31 * result + (first != null ? first.hashCode() : 0); result = 31 * result + (second != null ? second.hashCode() : 0); return result; }
@Override public int hashCode() { final int prime = 307967729; int result = 1; result = prime * result + first.hashCode(); result = prime * result + second.hashCode(); return result; }