Searched refs:endInclusive (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/stream/ |
D | LongStream.java | 820 public static LongStream rangeClosed(long startInclusive, final long endInclusive) { in rangeClosed() argument 821 if (startInclusive > endInclusive) { in rangeClosed() 823 } else if (endInclusive - startInclusive + 1 <= 0) { in rangeClosed() 829 long m = startInclusive + Long.divideUnsigned(endInclusive - startInclusive, 2) + 1; in rangeClosed() 830 return concat(range(startInclusive, m), rangeClosed(m, endInclusive)); in rangeClosed() 833 new Streams.RangeLongSpliterator(startInclusive, endInclusive, true), false); in rangeClosed()
|
D | IntStream.java | 820 public static IntStream rangeClosed(int startInclusive, int endInclusive) { in rangeClosed() argument 821 if (startInclusive > endInclusive) { in rangeClosed() 825 new Streams.RangeIntSpliterator(startInclusive, endInclusive, true), false); in rangeClosed()
|