RangeStream constructor

RangeStream(
  1. int startInclusive,
  2. int endInclusive
)

Constructs a Stream which emits all integer values that exist within the range between startInclusive and endInclusive.

Implementation

RangeStream(int startInclusive, int endInclusive)
    : _stream = _buildStream(startInclusive, endInclusive);