@Override
    public boolean equals(Object arg0) {
        if(arg0 instanceof TwoTuple) {
            TwoTuple<?, ?> tt = (TwoTuple<?, ?>)arg0;
            return first.equals(tt.first) && second.equals(tt.second);
        }
        return false;
    }