Package org.apache.commons.lang3.stream
Class IntStreams
java.lang.Object
org.apache.commons.lang3.stream.IntStreams
Factory for 
IntStream.
 Only a factory for now but could hold other functionality.
- Since:
- 3.13.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic IntStreamrange(int endExclusive) Shorthand forIntStream.range(0, i).static IntStreamrangeClosed(int endInclusive) Shorthand forIntStream.rangeClosed(0, i).
- 
Constructor Details- 
IntStreamsDeprecated.TODO Make private in 4.0.Make private in 4.0.
 
- 
- 
Method Details- 
rangeShorthand forIntStream.range(0, i).- Parameters:
- endExclusive- the exclusive upper bound.
- Returns:
- a sequential IntStreamfor the range ofintelements.
 
- 
rangeClosedShorthand forIntStream.rangeClosed(0, i).- Parameters:
- endInclusive- the inclusive upper bound.
- Returns:
- a sequential IntStreamfor the range ofintelements.
 
 
-