Stream

class Stream
%3 Stream Stream syside.Stream LazyIterator LazyIterator syside.LazyIterator LazyIterator->Stream
Members defined in Stream (1 member)

__iter__

Members inherited from LazyIterator (7 members)

__bool__

Returns True if this range is not empty.

__getitem__

Get value at index, This is computed lazily. Throws IndexError on out of bounds.

at

Get value at index. This is computed lazily. Returns None for out of bounds index.

collect

Collect all items into a list.

count

Count the number of items in this range. This is computed lazily.

empty

Check if this range is empty.

for_each

Lazily visit each item in this range. Visitation is stopped on returning False or VisitAction.Stop;

Methods

__iter__() Iterator[syside.T]