max


Description:


public Collector<Optional<G>,Object,G> max<G> (owned CompareDataFunc<G>? compare = null)

Returns a collector that produces the maximum element based on the given compare function.

Parameters:

compare

a compare function. if not specified, Gee.Functions.get_compare_func_for is used to get a proper function.

Returns:

the collector implementation


Namespace: Gpseq.Collectors
Package: gpseq-1.0