Class IntStreams
java.lang.Object
org.apache.commons.lang3.stream.IntStreams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntStreamof(int... values) Null-safe version ofIntStream.of(int[]).static IntStreamrange(int endExclusive) Shorthand forIntStream.range(0, i).static IntStreamrangeClosed(int endInclusive) Shorthand forIntStream.rangeClosed(0, i).
-
Constructor Details
-
IntStreams
-
-
Method Details
-
of
Null-safe version ofIntStream.of(int[]).- Parameters:
values- the elements of the new stream, may benull.- Returns:
- the new stream on
valuesorIntStream.empty(). - Since:
- 3.18.0
-
range
-
rangeClosed
-