@Override public boolean equals(Object that) { if (this == that) return true; if (!eqClasses(this, that)) return false; Tuple thatc = (Tuple) that; return a.equals(thatc.a) && b.equals(thatc.b); }
@Override public boolean equals(Object that) { if (this == that) return true; if (!eqClasses(this, that)) return false; Tuple3 thatc = (Tuple3) that; return a.equals(thatc.a) && b.equals(thatc.b) && c.equals(thatc.c); }