| Constructor and Description |
|---|
IntStreams()
Deprecated.
TODO Make private in 4.0.
|
| Modifier and Type | Method and Description |
|---|---|
static IntStream |
of(int... values)
Null-safe version of
IntStream.of(int[]). |
static IntStream |
range(int endExclusive)
Shorthand for
IntStream.range(0, i). |
static IntStream |
rangeClosed(int endInclusive)
Shorthand for
IntStream.rangeClosed(0, i). |
@Deprecated public IntStreams()
@SafeVarargs public static IntStream of(int... values)
IntStream.of(int[]).values - the elements of the new stream, may be null.values or IntStream.empty().public static IntStream range(int endExclusive)
IntStream.range(0, i).endExclusive - the exclusive upper bound.IntStream for the range of int elements.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.