IterableExtension<T> extension

on

Methods

distinctBy<R>(R selector(T element)) Iterable<T>
Returns a new lazy Iterable containing only elements from the collection having distinct keys returned by the given selector function.
mapNotNull<R>(R? transform(T element)) Iterable<R>
sortedByDescending(Comparable selector(T element)) Iterable<T>