Interface BuildableNumberSelectionOptionalFunction<SRC,T extends Number & Comparable<T>,P extends Selection.NumberSelection<T>>
- All Superinterfaces:
BuildableComparableSelectionOptionalFunction<SRC,,T, P> BuildableOptionalFunction<SRC,,P> BuildableSelectionOptionalFunction<SRC,,T, P> Function<SRC,Optional<P>>
- All Known Subinterfaces:
BuildableNumberSelectionOptionalFunction.BuildableDoubleSelectionOptionalFunction<SRC>,BuildableNumberSelectionOptionalFunction.BuildableIntegerSelectionOptionalFunction<SRC>,BuildableNumberSelectionOptionalFunction.BuildableLongSelectionOptionalFunction<SRC>
public interface BuildableNumberSelectionOptionalFunction<SRC,T extends Number & Comparable<T>,P extends Selection.NumberSelection<T>>
extends BuildableComparableSelectionOptionalFunction<SRC,T,P>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault BuildableComparableFunction<SRC,T> sum()typeNumberProperly(Number num) This exists to properly type a Number argument for concrete instances of this type.Methods inherited from interface com.terracottatech.store.function.selections.BuildableComparableSelectionOptionalFunction
first, firstOrElse, firstOrFail, get, getOrElse, getOrFail, greaterThan, greaterThanOrEqual, last, lastOrElse, lastOrFail, lessThan, lessThanOrEqual, max, min, sole, soleOrElseMethods inherited from interface com.terracottatech.store.function.BuildableOptionalFunction
in, in, isMethods inherited from interface com.terracottatech.store.function.selections.BuildableSelectionOptionalFunction
contains, isEmpty, notEmpty, size
-
Method Details
-
sum
-
typeNumberProperly
This exists to properly type a Number argument for concrete instances of this type.- Parameters:
num- Number to type.- Returns:
- properly typed value
-