boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DfDoubleRangeType type = (DfDoubleRangeType)o; return Double.compare(type.myFrom, myFrom) == 0 && Double.compare(type.myTo, myTo) == 0 && myInvert == type.myInvert && myNaN == type.myNaN; }