@Override public boolean equalsDeep(Base other) { if (!super.equalsDeep(other)) return false; if (!(other instanceof Ratio)) return false; Ratio o = (Ratio) other; return compareDeep(numerator, o.numerator, true) && compareDeep(denominator, o.denominator, true) ; }
@Override public boolean equalsDeep(Base other) { if (!super.equalsDeep(other)) return false; if (!(other instanceof Ratio)) return false; Ratio o = (Ratio) other; return compareDeep(numerator, o.numerator, true) && compareDeep(denominator, o.denominator, true) ; }