# Class PrimitiveFunctions

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

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

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 Details

• ### integerIsPositive

public static  integerIsPositive()
• ### unboxNumberToInt

public static  unboxNumberToInt()
• ### unboxIntegerToByte

public static  unboxIntegerToByte()
• ### unboxIntegerToChar

public static  unboxIntegerToChar()
• ### unboxIntegerToInt

public static  unboxIntegerToInt()
• ### unboxNumberToFloat

public static  unboxNumberToFloat()
• ### unboxNumberToLong

public static  unboxNumberToLong()
• ### unboxNumberToDouble

public static  unboxNumberToDouble()
• ### unboxIntegerToFloat

public static  unboxIntegerToFloat()
• ### unboxIntegerToLong

public static  unboxIntegerToLong()
• ### unboxIntegerToShort

public static  unboxIntegerToShort()
• ### unboxIntegerToDouble

public static  unboxIntegerToDouble()
• ### unboxDoubleToDouble

public static  unboxDoubleToDouble()
• ### unboxFloatToFloat

public static  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>  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>  sumByDoubleFunction​(Function<? super T,​? extends V> groupBy, DoubleFunction<? super T> function)