Class AddFunction
java.lang.Object
org.eclipse.collections.impl.block.function.AddFunction
public final class AddFunction extends Object
Provides static Function2s which can be used by Iterate.injectInto for adding primitives or to a collection
-
Field Summary
Fields Modifier and Type Field Description static Function2<Collection<?>,?,Collection<?>>
COLLECTION
static Function2<Double,Double,Double>
DOUBLE
static DoubleObjectToDoubleFunction<Double>
DOUBLE_TO_DOUBLE
static Function2<Float,Float,Float>
FLOAT
static FloatObjectToFloatFunction<Float>
FLOAT_TO_FLOAT
static Function2<Integer,Integer,Integer>
INTEGER
static DoubleObjectToDoubleFunction<Integer>
INTEGER_TO_DOUBLE
static FloatObjectToFloatFunction<Integer>
INTEGER_TO_FLOAT
static IntObjectToIntFunction<Integer>
INTEGER_TO_INT
static LongObjectToLongFunction<Integer>
INTEGER_TO_LONG
static Function2<Long,Long,Long>
LONG
static Function2<String,String,String>
STRING
-
Method Summary