Returns a collector that produces the maximum element based on the given compare function.
compare |
a compare function. if not specified, Gee.Functions.get_compare_func_for is used to get a proper function. |
the collector implementation |