group_by
Description:
Returns a collector that groups the elements based on the classifier function.
There are no guarantees on the type, mutability, or thread-safety of the returned map and list.
Parameters:
classifier |
a classifier function mapping elements to keys |
Returns:
the collector implementation |
Namespace: Gpseq.Collectors
Package: gpseq-1.0