IterableExtensions<T extends Comparable<T> > extension
Extension on Iterable to provide additional properties and methods for lists containing elements that implement Comparable.
- on
-
- Iterable<
T>
- Iterable<
Methods
-
biggestOccurrence(
) → T? -
Available on Iterable<
Finds the biggest occurrence in the list.T> , provided by the IterableExtensions extension -
leastOccurrences(
) → (T, int)? -
Available on Iterable<
Find the most common value in the list.T> , provided by the IterableExtensions extension -
mostOccurrences(
) → (T, int)? -
Available on Iterable<
Finds the most common value in the list.T> , provided by the IterableExtensions extension -
smallestOccurrence(
) → T? -
Available on Iterable<
Finds the smallest occurrence in the list.T> , provided by the IterableExtensions extension