Uses of Interface
org.javimmutable.collections.Func2

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
<P1,P2,P3,R>
Func2<P2,P3,R>
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
<P1,P2,P3,P4,R>
Func2<P3,P4,R>
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
<P1,P2,R> Func2<P1,P2,R>
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
<P1,OT,R> Func2<P1,OT,R>
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
<P1,P2,R> Func2<P1,P2,R>
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
<T,R> R
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
<T,R> R
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
<P1,P2,R> Func1<P2,R>
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
<P1,P2,R> Func1<P2,R>
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.
 



Copyright © 2014 Burton Computer Corporation. All rights reserved.