Package com.exedio.cope
Class ExtremumAggregate<E>
- java.lang.Object
-
- com.exedio.cope.Aggregate<E>
-
- com.exedio.cope.ExtremumAggregate<E>
-
- All Implemented Interfaces:
Selectable<E>
,Serializable
public final class ExtremumAggregate<E> extends Aggregate<E>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExtremumAggregate(Function<E> source, boolean minimum)
Creates a new ExtremumAggregate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMaximum()
boolean
isMinimum()
-
Methods inherited from class com.exedio.cope.Aggregate
append, appendSelect, between, check, equal, equals, getName, getSource, getType, getValueClass, getValueType, greater, greaterOrEqual, hashCode, less, lessOrEqual, notEqual, toString, toString
-
-
-
-
Constructor Detail
-
ExtremumAggregate
public ExtremumAggregate(Function<E> source, boolean minimum)
Creates a new ExtremumAggregate. Instead of using this constructor directly, you may want to use the convenience methods.- See Also:
Function.min()
,Function.max()
-
-