GeneralRange<T> reverse() {
    GeneralRange<T> result = reverse;
    if (result == null) {
      result =
          new GeneralRange<T>(
              Ordering.from(comparator).reverse(),
              hasUpperBound,
              getUpperEndpoint(),
              getUpperBoundType(),
              hasLowerBound,
              getLowerEndpoint(),
              getLowerBoundType());
      result.reverse = this;
      return this.reverse = result;
    }
    return result;
  }
GeneralRange<T> reverse() {
    GeneralRange<T> result = reverse;
    if (result == null) {
      result =
          new GeneralRange<T>(
              Ordering.from(comparator).reverse(),
              hasUpperBound,
              getUpperEndpoint(),
              getUpperBoundType(),
              hasLowerBound,
              getLowerEndpoint(),
              getLowerBoundType());
      result.reverse = this;
      return this.reverse = result;
    }
    return result;
  }
GeneralRange < T > reverse ( ) { GeneralRange < T > result = reverse ; if ( result == null ) { result = new GeneralRange < T > ( Ordering . from ( comparator ) . reverse ( ) , hasUpperBound , getUpperEndpoint ( ) , getUpperBoundType ( ) , hasLowerBound , getLowerEndpoint ( ) , getLowerBoundType ( ) ) ; result . reverse = this ; return this . reverse = result ; } return result ; }
Returns the same range relative to the reversed comparator.
Returns the same range relative to the reversed comparator .