@Override public int hashCode() { int a = multiplicand.hashCode(); int b = (int)scalar.getIndex(); return 37 * (37 * ( (a ^ (a >>> 31))) + (b ^ (b >>> 31))); }