Class LocalTimeAggregation
java.lang.Object
io.jmix.flowui.data.aggregation.impl.AbstractAggregation<T>
io.jmix.flowui.data.aggregation.impl.CountAggregation<LocalTime>
io.jmix.flowui.data.aggregation.impl.LocalTimeAggregation
- All Implemented Interfaces:
Aggregation<LocalTime>
Implementation of
Aggregation intended for aggregating LocalTime values.-
Field Summary
Fields inherited from class io.jmix.flowui.data.aggregation.impl.AbstractAggregation
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of aggregation types that are supported by this class.max(Collection<LocalTime> items) Determines the maximum value in the provided collection of items.min(Collection<LocalTime> items) Determines the minimum value in the provided collection of items.Methods inherited from class io.jmix.flowui.data.aggregation.impl.AbstractAggregation
avg, count, getResultClass, sum
-
Constructor Details
-
LocalTimeAggregation
public LocalTimeAggregation()
-
-
Method Details
-
min
Description copied from interface:AggregationDetermines the minimum value in the provided collection of items.- Specified by:
minin interfaceAggregation<LocalTime>- Overrides:
minin classAbstractAggregation<LocalTime>- Parameters:
items- the collection of items to evaluate for the minimum value- Returns:
- the minimum value from the collection, or
nullif the collection is empty
-
max
Description copied from interface:AggregationDetermines the maximum value in the provided collection of items.- Specified by:
maxin interfaceAggregation<LocalTime>- Overrides:
maxin classAbstractAggregation<LocalTime>- Parameters:
items- the collection of items to evaluate for the maximum value- Returns:
- the maximum value from the collection, or
nullif the collection is empty
-
getSupportedAggregationTypes
Description copied from interface:AggregationReturns the set of aggregation types that are supported by this class.- Specified by:
getSupportedAggregationTypesin interfaceAggregation<LocalTime>- Overrides:
getSupportedAggregationTypesin classAbstractAggregation<LocalTime>- Returns:
- a set of supported aggregation types
-