public class IntStreams
extends java.lang.Object
IntStream.
Only a factory for now but could hold other functionality.
| Constructor and Description |
|---|
IntStreams()
Deprecated.
TODO Make private in 4.0.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.stream.IntStream |
of(int... values)
Null-safe version of
IntStream.of(int[]). |
static java.util.stream.IntStream |
range(int endExclusive)
Shorthand for
IntStream.range(0, i). |
static java.util.stream.IntStream |
rangeClosed(int endInclusive)
Shorthand for
IntStream.rangeClosed(0, i). |
@Deprecated public IntStreams()
@SafeVarargs public static java.util.stream.IntStream of(int... values)
IntStream.of(int[]).values - the elements of the new stream, may be null.values or IntStream.empty().public static java.util.stream.IntStream range(int endExclusive)
IntStream.range(0, i).endExclusive - the exclusive upper bound.IntStream for the range of int elements.public static java.util.stream.IntStream rangeClosed(int endInclusive)
IntStream.rangeClosed(0, i).endInclusive - the inclusive upper bound.IntStream for the range of int elements.Copyright © 2010 - 2025 Adobe. All Rights Reserved