Package org.apache.commons.lang3.stream

# Class IntStreams

java.lang.Object
org.apache.commons.lang3.stream.IntStreams

public class IntStreams extends Object
Factory for `IntStream`.

Only a factory for now but could hold other functionality.

Since:
  3.13.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IntStreams()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static IntStream`
  `range(int endExclusive)`
  Shorthand for `IntStream.range(0, i)`.
  `static IntStream`
  `rangeClosed(int endInclusive)`
  Shorthand for `IntStream.rangeClosed(0, i)`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### IntStreams

    public IntStreams()

- ## Method Details

  - ### range

    public static IntStream range(int endExclusive)
    Shorthand for `IntStream.range(0, i)`.
    Parameters:
      `endExclusive` - the exclusive upper bound.
    Returns:
      a sequential `IntStream` for the range of `int` elements.

  - ### rangeClosed

    public static IntStream rangeClosed(int endInclusive)
    Shorthand for `IntStream.rangeClosed(0, i)`.
    Parameters:
      `endInclusive` - the inclusive upper bound.
    Returns:
      a sequential `IntStream` for the range of `int` elements.