RepeatIterableExtension<E> extension
Methods
-
cycle([int? count])
→ Iterable<E>
-
Deprecated alias for repeat.
-
repeat({int? count})
→ Iterable<E>
-
Returns an infinite iterable with the elements of this iterable. If
count
is provided the resulting iterator is limited to count
repetitions.