android/guava/src/com/google/common/collect/Range.java
public static <C extends Comparable<?>> Range<C> closedOpen(C lower, C upper) {
    return create(Cut.belowValue(lower), Cut.belowValue(upper));
  }
public static <C extends Comparable<?>> Range<C> closedOpen(C lower, C upper) {
    return create(Cut.belowValue(lower), Cut.belowValue(upper));
  }
public static < C extends Comparable < ? > > Range < C > closedOpen ( C lower , C upper ) { return create ( Cut . belowValue ( lower ) , Cut . belowValue ( upper ) ) ; }
Returns a range that contains all values greater than or equal to {@code lower} and strictly
less than {@code upper}.

@throws IllegalArgumentException if {@code lower} is greater than {@code upper}
@throws ClassCastException if {@code lower} and {@code upper} are not mutually comparable
@since 14.0
Returns a range that contains all values greater than or equal to { @code lower } and strictly less than { @code upper } .