|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Func2 | |
---|---|
org.javimmutable.collections.util |
Uses of Func2 in org.javimmutable.collections.util |
---|
Methods in org.javimmutable.collections.util that return Func2 | ||
---|---|---|
static
|
Curry.func2(P1 param1,
Func3<P1,P2,P3,R> function)
Produces a Curried Func2 that calls the provided Func3 passing it the fixed parameter param1 along with the actual parameters to the apply() method. |
|
static
|
Curry.func2(P1 param1,
P2 param2,
Func4<P1,P2,P3,P4,R> function)
Produces a Curried Func3 that calls the provided Func4 passing it the fixed parameter param1 along with the actual parameters to the apply() method. |
|
static
|
ReflectionFunctions.method(Object obj,
String name,
Class<P1> arg1Class,
Class<P2> arg2Class)
Returns a Func2 instance that calls the specified non-static method on the specified java object. |
|
static
|
ReflectionFunctions.method(String name,
Class<P1> arg1Class,
Class<OT> klass)
Returns a Func2 instance that calls the specified non-static method on a java object passed as the last parameter of the Func2. |
|
static
|
ReflectionFunctions.staticMethod(Class klass,
String name,
Class<P1> arg1Class,
Class<P2> arg2Class)
Returns a Func2 instance that calls the specified static method on the specified java object. |
Methods in org.javimmutable.collections.util with parameters of type Func2 | ||
---|---|---|
static
|
Functions.foldLeft(R accumulator,
Cursor<? extends T> cursor,
Func2<R,? super T,R> func)
Calls func for every value in cursor passing in the accumulator and each value as parameters and setting accumulator to the result. |
|
static
|
Functions.foldRight(R accumulator,
Cursor<? extends T> cursor,
Func2<R,? super T,R> func)
Calls func for every value in cursor from right to left (i.e. |
|
static
|
Curry.func1(P1 param1,
Func2<P1,P2,R> function)
Produces a Curried Func1 that calls the provided Func2 passing it the fixed parameter param1 along with the actual parameters to the apply() method. |
|
static
|
Curry.of(Func2<P1,P2,R> function,
P1 param1)
Produces a Curried Func1 that calls the provided Func2 passing it the fixed parameter param1 along with the actual parameter to the apply() method as the second parameter. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |