public static <Key, Value> Aggregation<Key, Comparable, Comparable> comparableMax() {
        return new AggregationAdapter(new ComparableMaxAggregation<Key, Value>());
    }
public static < Key , Value > Aggregation < Key , Comparable , Comparable > comparableMax ( ) { return new AggregationAdapter ( new ComparableMaxAggregation < Key , Value > ( ) ) ; }
Returns an aggregation to find the maximum value of all supplied
{@link java.lang.Comparable} implementing values.<br/>
This aggregation is similar to: <pre>SELECT MAX(value) FROM x</pre>

@param <Key>   the input key type
@param <Value> the supplied value type
@return the maximum value over all supplied values