Home
last modified time | relevance | path

Searched refs:endInclusive (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DLongStream.java823 public static LongStream rangeClosed(long startInclusive, final long endInclusive) { in rangeClosed() argument
824 if (startInclusive > endInclusive) { in rangeClosed()
826 } else if (endInclusive - startInclusive + 1 <= 0) { in rangeClosed()
834 BigInteger.valueOf(endInclusive).subtract(BigInteger.valueOf(startInclusive)) in rangeClosed()
837 return concat(range(startInclusive, m), rangeClosed(m, endInclusive)); in rangeClosed()
840 new Streams.RangeLongSpliterator(startInclusive, endInclusive, true), false); in rangeClosed()
DIntStream.java820 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()