Class PrimitiveFunctions
java.lang.Object
org.eclipse.collections.impl.block.factory.PrimitiveFunctions
-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanFunction<Integer> static <T,V> Function2 <MutableObjectDoubleMap<V>, T, MutableObjectDoubleMap<V>> sumByDoubleFunction(Function<? super T, ? extends V> groupBy, DoubleFunction<? super T> function) static <T,V> Function2 <MutableObjectDoubleMap<V>, T, MutableObjectDoubleMap<V>> sumByFloatFunction(Function<? super T, ? extends V> groupBy, FloatFunction<? super T> function) static <T,V> Function2 <MutableObjectLongMap<V>, T, MutableObjectLongMap<V>> sumByIntFunction(Function<? super T, ? extends V> groupBy, IntFunction<? super T> function) static <T,V> Function2 <MutableObjectLongMap<V>, T, MutableObjectLongMap<V>> sumByLongFunction(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) static DoubleFunction<Double> static FloatFunction<Float> static ByteFunction<Integer> static CharFunction<Integer> static DoubleFunction<Integer> static FloatFunction<Integer> static IntFunction<Integer> static LongFunction<Integer> static ShortFunction<Integer> static DoubleFunction<Number> static FloatFunction<Number> static IntFunction<Number> static LongFunction<Number>
-
Method Details
-
integerIsPositive
-
unboxNumberToInt
-
unboxIntegerToByte
-
unboxIntegerToChar
-
unboxIntegerToInt
-
unboxNumberToFloat
-
unboxNumberToLong
-
unboxNumberToDouble
-
unboxIntegerToFloat
-
unboxIntegerToLong
-
unboxIntegerToShort
-
unboxIntegerToDouble
-
unboxDoubleToDouble
-
unboxFloatToFloat
-
sumByIntFunction
public static <T,V> Function2<MutableObjectLongMap<V>, T, MutableObjectLongMap<V>> sumByIntFunction(Function<? super T, ? extends V> groupBy, IntFunction<? super T> function) -
sumByFloatFunction
public static <T,V> Function2<MutableObjectDoubleMap<V>, T, MutableObjectDoubleMap<V>> sumByFloatFunction(Function<? super T, ? extends V> groupBy, FloatFunction<? super T> function) -
sumByLongFunction
public static <T,V> Function2<MutableObjectLongMap<V>, T, MutableObjectLongMap<V>> sumByLongFunction(Function<? super T, ? extends V> groupBy, LongFunction<? super T> function) -
sumByDoubleFunction
public static <T,V> Function2<MutableObjectDoubleMap<V>, T, MutableObjectDoubleMap<V>> sumByDoubleFunction(Function<? super T, ? extends V> groupBy, DoubleFunction<? super T> function)
-