Home
last modified time | relevance | path

Searched refs:startInclusive (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DLongStream.java787 public static LongStream range(long startInclusive, final long endExclusive) { in range() argument
788 if (startInclusive >= endExclusive) { in range()
790 } else if (endExclusive - startInclusive < 0) { in range()
795 long m = startInclusive + Long.divideUnsigned(endExclusive - startInclusive, 2) + 1; in range()
796 return concat(range(startInclusive, m), range(m, endExclusive)); in range()
799 new Streams.RangeLongSpliterator(startInclusive, endExclusive, false), false); in range()
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()
[all …]
DIntStream.java794 public static IntStream range(int startInclusive, int endExclusive) { in range() argument
795 if (startInclusive >= endExclusive) { in range()
799 new Streams.RangeIntSpliterator(startInclusive, endExclusive, false), false); in range()
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()
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrays.java681 T[] array, int startInclusive, int endExclusive) { in spliterator() argument
690 int[] array, int startInclusive, int endExclusive) { in spliterator() argument
699 long[] array, int startInclusive, int endExclusive) { in spliterator() argument
708 double[] array, int startInclusive, int endExclusive) { in spliterator() argument
717 T[] array, int startInclusive, int endExclusive) { in stream() argument
726 int[] array, int startInclusive, int endExclusive) { in stream() argument
735 long[] array, int startInclusive, int endExclusive) { in stream() argument
744 double[] array, int startInclusive, int endExclusive) { in stream() argument
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java327 …llFromTypeParam T> spliterator(T @libcore.util.NonNull [] array, int startInclusive, int endExclus… in spliterator() argument
331 …pliterator.OfInt spliterator(int @libcore.util.NonNull [] array, int startInclusive, int endExclus… in spliterator() argument
335 …iterator.OfLong spliterator(long @libcore.util.NonNull [] array, int startInclusive, int endExclus… in spliterator() argument
339 …ator.OfDouble spliterator(double @libcore.util.NonNull [] array, int startInclusive, int endExclus… in spliterator() argument
343 …il.NullFromTypeParam T> stream(T @libcore.util.NonNull [] array, int startInclusive, int endExclus… in stream() argument
347 …util.stream.IntStream stream(int @libcore.util.NonNull [] array, int startInclusive, int endExclus… in stream() argument
351 …il.stream.LongStream stream(long @libcore.util.NonNull [] array, int startInclusive, int endExclus… in stream() argument
355 …tream.DoubleStream stream(double @libcore.util.NonNull [] array, int startInclusive, int endExclus… in stream() argument
/libcore/ojluni/src/main/java/java/util/
DArrays.java4802 public static <T> Spliterator<T> spliterator(T[] array, int startInclusive, int endExclusive) { in spliterator() argument
4803 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4841 public static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) { in spliterator() argument
4842 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4880 … public static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) { in spliterator() argument
4881 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4920 …public static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusiv… in spliterator() argument
4921 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4953 public static <T> Stream<T> stream(T[] array, int startInclusive, int endExclusive) { in stream() argument
4954 return StreamSupport.stream(spliterator(array, startInclusive, endExclusive), false); in stream()
[all …]
/libcore/ojluni/src/main/java/java/time/
DDuration.java465 public static Duration between(Temporal startInclusive, Temporal endExclusive) { in between() argument
467 return ofNanos(startInclusive.until(endExclusive, NANOS)); in between()
469 long secs = startInclusive.until(endExclusive, SECONDS); in between()
472 … nanos = endExclusive.getLong(NANO_OF_SECOND) - startInclusive.getLong(NANO_OF_SECOND); in between()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java141 java.time.temporal.Temporal startInclusive, java.time.temporal.Temporal endExclusive) { in between() argument