IterableUtils<E> extension
Miscellaneous utility methods for Iterable.
- on
-
- Iterable<
E>
- Iterable<
Methods
-
drain(
) → void -
Available on Iterable<
Iterates over all elements, discarding the results.E> , provided by the IterableUtils extension -
padLeft(
int totalLength, {required E padValue}) → Iterable< E> -
Available on Iterable<
Pads elements to the beginning of this Iterable to make it have the specified length.E> , provided by the IterableUtils extension -
padRight(
int totalLength, {required E padValue}) → Iterable< E> -
Available on Iterable<
Pads elements to the end of this Iterable to make it have the specified length.E> , provided by the IterableUtils extension -
startsWith(
Iterable< E> other) → bool -
Available on Iterable<
ReturnsE> , provided by the IterableUtils extensiontrue
ifthis
starts withother
in order.