@Override
    public boolean equals(Object obj) {
        if (obj == null || getClass() != obj.getClass())
            return false;
        
        final Number other = (Number) obj;
        
        if (this.numerator != other.numerator) return false;
        if (this.denominator != other.denominator) return false;
        return true;
    }