collection_aggregate library Collection
Utilities for aggregating and sorting collections.
This includes:
- Grouping a collection's elements such as Group.lists.
- Sorting a collection's elements such as Order.ascending.
- Splitting a collection into parts such as Split.window.
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
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.