// The following member is in the // Fraction class first described in Chapter 3 // to override equals inherited from Object // This makes find and remove in the arbitratry list work public boolean equals(Object y) // override { return ( y == this || (this.getClass() == y.getClass() && num == ((Fraction)y).num && denom == ((Fraction)y).denom ) ); }