IterableExtension<T> extension
- on
-
- Iterable<
T>
- Iterable<
Methods
-
distinctBy<
R> (R selector(T element)) → Iterable< T> -
Available on Iterable<
Returns a new lazy Iterable containing only elements from the collection having distinct keys returned by the givenT> , provided by the IterableExtension extensionselector
function. -
mapNotNull<
R> (R? transform(T element)) → Iterable< R> -
Available on Iterable<
T> , provided by the IterableExtension extension -
sortedByDescending(
Comparable selector(T element)) → Iterable< T> -
Available on Iterable<
T> , provided by the IterableExtension extension