min


Description:


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

Returns a collector that produces the minimum 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