collection_aggregate library Collection

Utilities for aggregating and sorting collections.

This includes:

Most functions in this library produce a new collection rather than modify the collection in-place.

See sugar.collection for other non-aggregating collection utilities.

Classes

Order<E, T extends Comparable<Object>>
A namespace for functions that order an Iterable's elements.

Extension Types

Group
A namespace for functions that group an Iterable's elements.
Split
A namespace for functions that split an Iterable's elements.

Extensions

AggregateComparableIterable on Iterable<E>
Provides ordering functions for Iterables of Comparables.
AggregateIterable on Iterable<E>
Provides aggregate functions, such as average and sum, for Iterables.
AggregateNumberIterable on Iterable<E>
Provides aggregate functions, such as average and sum, for Iterables of nums.
GroupableIterable on Iterable<E>
Provides functions for grouping an Iterable's elements.
OrderableIterable on Iterable<E>
Provides functions for ordering an Iterable's elements.
SplittableIterable on Iterable<E>
Provides functions for splitting an Iterable into parts.