StreamIterator(Stream<T> stream)

Create a StreamIterator on stream.

Source

factory StreamIterator(Stream<T> stream)
    // TODO(lrn): use redirecting factory constructor when type
    // arguments are supported.
    =>
    new _StreamIterator<T>(stream);