## Class PrimitiveFunctions

• java.lang.Object
• org.eclipse.collections.impl.block.factory.PrimitiveFunctions

• ```public final class PrimitiveFunctions
extends Object```
• ### Method Summary

All Methods
Modifier and Type Method Description
`static BooleanFunction<Integer>` `integerIsPositive​()`
`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>` `unboxDoubleToDouble​()`
`static FloatFunction<Float>` `unboxFloatToFloat​()`
`static ByteFunction<Integer>` `unboxIntegerToByte​()`
`static CharFunction<Integer>` `unboxIntegerToChar​()`
`static DoubleFunction<Integer>` `unboxIntegerToDouble​()`
`static FloatFunction<Integer>` `unboxIntegerToFloat​()`
`static IntFunction<Integer>` `unboxIntegerToInt​()`
`static LongFunction<Integer>` `unboxIntegerToLong​()`
`static ShortFunction<Integer>` `unboxIntegerToShort​()`
`static DoubleFunction<Number>` `unboxNumberToDouble​()`
`static FloatFunction<Number>` `unboxNumberToFloat​()`
`static IntFunction<Number>` `unboxNumberToInt​()`
`static LongFunction<Number>` `unboxNumberToLong​()`
• ### Methods inherited from class java.lang.Object

`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Method Detail

• #### integerIsPositive

`public static BooleanFunction<Integer> integerIsPositive​()`
• #### unboxNumberToInt

`public static IntFunction<Number> unboxNumberToInt​()`
• #### unboxIntegerToByte

`public static ByteFunction<Integer> unboxIntegerToByte​()`
• #### unboxIntegerToChar

`public static CharFunction<Integer> unboxIntegerToChar​()`
• #### unboxIntegerToInt

`public static IntFunction<Integer> unboxIntegerToInt​()`
• #### unboxNumberToFloat

`public static FloatFunction<Number> unboxNumberToFloat​()`
• #### unboxNumberToLong

`public static LongFunction<Number> unboxNumberToLong​()`
• #### unboxNumberToDouble

`public static DoubleFunction<Number> unboxNumberToDouble​()`
• #### unboxIntegerToFloat

`public static FloatFunction<Integer> unboxIntegerToFloat​()`
• #### unboxIntegerToLong

`public static LongFunction<Integer> unboxIntegerToLong​()`
• #### unboxIntegerToShort

`public static ShortFunction<Integer> unboxIntegerToShort​()`
• #### unboxIntegerToDouble

`public static DoubleFunction<Integer> unboxIntegerToDouble​()`
• #### unboxDoubleToDouble

`public static DoubleFunction<Double> unboxDoubleToDouble​()`
• #### unboxFloatToFloat

`public static FloatFunction<Float> 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)```

Copyright © 2004–2017. All rights reserved.