/** * Returns an aggregation to find the integer maximum of all supplied 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 */ public static <Key, Value> Aggregation<Key, Integer, Integer> integerMax() { return new AggregationAdapter(new IntegerMaxAggregation<Key, Value>()); }
/** * Returns an aggregation to find the integer maximum of all supplied 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 */ public static <Key, Value> Aggregation<Key, Integer, Integer> integerMax() { return new AggregationAdapter(new IntegerMaxAggregation<Key, Value>()); }