/guava/guava/src/com/google/common/collect/Range.java
Cut<C> upper = upperBound.canonical( domain) ; Cut<C> lower = lowerBound.canonical( domain) ;checkNotNull( domain) ;
checkNotNull ( domain ) ; Cut<C> lower = lowerBound.canonical ( domain ) ; Cut<C> upper = upperBound.canonical ( domain ) ;
Cut<C> newLower = (lowerCmp <= 0) ? lowerBound : other.lowerBound; Cut<C> newUpper = (upperCmp >= 0) ? upperBound : other.upperBound; return create(newLower, newUpper); } } public Range<C> canonical(DiscreteDomain<C> domain) { <extra_id_0> return (lower == lowerBound && upper == upperBound) ? this : create(lower, upper); } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof Range) { Range<?> other = (Range<?>) object;