group_by


Description:


public Collector<Map<K,List<G>>,Object,G> group_by<K,G> (owned MapFunc<K,G> classifier)

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



2022 vala-language.org