Interface Groupable<E>
- Type Parameters:
E- is the type of the elements aGroupable.
- All Known Subinterfaces:
IArrayList<E>, IContainer<E>, ILinkedList<E>, IMatrix<E>, IMatrixColumn<E>, IMatrixRow<E>, ISqlRecord
- All Known Implementing Classes:
AbstractContainer, AbstractExtendedContainer, ArrayContainerView, ArrayList, ContainerView, FilterContainerView, ImmutableList, IntervallContainerView, IterableContainerView, LinkedList, MappingContainerView, Matrix, MatrixColumn, MatrixRow, MultiContainerView, SingleContainer, SqlRecord
public interface Groupable<E>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionIContainer<? extends IContainer<E>> getStoredInGroups(Function<E, ?> norm)
-
Method Details
-
getStoredInGroups
- Parameters:
norm-- Returns:
- a new
IContainerwith the elements of the currentGroupablegrouped by the given norm. Ignores null elements. - Throws:
RuntimeException- if the given norm is null.
-