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