count abstract method

int count()

Returns the count of elements in this stream.

Example

final count = GenericStream.of([1, 2, 3, 4, 5]).count(); // 5

Implementation

int count();