Searched defs:range (Results 1 - 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DEnumSet.java330 * range defined by the two specified endpoints. The returned set will
334 * @param from the first element in the range
335 * @param to the last element in the range
339 * range defined by the two specified endpoints
341 public static <E extends Enum<E>> EnumSet<E> range(E from, E to) { method in class:EnumSet
350 * Adds the specified range to this enum set, which is empty prior
/libcore/ojluni/src/main/java/java/util/stream/
H A DIntStream.java791 * @return a sequential {@code IntStream} for the range of {@code int}
794 public static IntStream range(int startInclusive, int endExclusive) { method in interface:IntStream
817 * @return a sequential {@code IntStream} for the range of {@code int}
H A DLongStream.java783 * @return a sequential {@code LongStream} for the range of {@code long}
786 public static LongStream range(long startInclusive, final long endExclusive) { method in interface:LongStream
790 // Size of range > Long.MAX_VALUE
791 // Split the range in two and concatenate
792 // Note: if the range is [Long.MIN_VALUE, Long.MAX_VALUE) then
793 // the lower range, [Long.MIN_VALUE, 0) will be further split in two
799 return concat(range(startInclusive, m), range(m, endExclusive));
820 * @return a sequential {@code LongStream} for the range of {@code long}
827 // Size of range > Lon
[all...]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DLambdaTestHelpers.java125 = string -> IntStream.range(0, string.length()).map(string::charAt);
149 return range(1, n);
152 public static List<Integer> range(int l, int u) { method in class:LambdaTestHelpers
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DLambdaTestHelpers.java126 = string -> IntStream.range(0, string.length()).map(string::charAt);
150 return range(1, n);
153 public static List<Integer> range(int l, int u) { method in class:LambdaTestHelpers

Completed in 310 milliseconds