|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.javelot.functionalj.Function4Impl<R,P1,P2,P3,P4>
public abstract class Function4Impl<R,P1,P2,P3,P4>
A base implementation of the Function4 interface, which implements all
methods except for the Function4.call(Object,Object,Object,Object) method - that is
left to subclasses to implement in order to define a function of 4 parameters.
| Constructor Summary | |
|---|---|
Function4Impl()
|
|
| Method Summary | |
|---|---|
Function3<R,P2,P3,P4> |
bind(P1 p_param1)
Binds the first parameter of this function of 4 parameters to return a new function of 3 parameters. |
Function2<R,P3,P4> |
bind(P1 p_param1,
P2 p_param2)
Binds the first 2 parameters of this function of 4 parameters to return a new function of 2 parameters. |
Function1<R,P4> |
bind(P1 p_param1,
P2 p_param2,
P3 p_param3)
Binds first 3 parameters of this function of 4 parameters to return a new function of 1 parameter. |
Function0<R> |
bind(P1 p_param1,
P2 p_param2,
P3 p_param3,
P4 p_param4)
Binds the 4 parameters of this function of 4 parameters to return a new function of no parameters. |
Function3<R,P1,P3,P4> |
bind2(P2 p_param2)
Binds the second parameter of this function of 4 parameters to return a new function of 3 parameters. |
Function3<R,P1,P2,P4> |
bind3(P3 p_param3)
Binds the third parameter of this function of 4 parameters to return a new function of 3 parameters. |
Function3<R,P1,P2,P3> |
bind4(P4 p_param4)
Binds the fourth parameter of this function of 4 parameters to return a new function of 3 parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.javelot.functionalj.Function4 |
|---|
call |
| Constructor Detail |
|---|
public Function4Impl()
| Method Detail |
|---|
public Function3<R,P2,P3,P4> bind(P1 p_param1)
Function4
bind in interface Function4<R,P1,P2,P3,P4>p_param1 - the parameter to bind to the first parameter of the function.
public Function2<R,P3,P4> bind(P1 p_param1,
P2 p_param2)
Function4
bind in interface Function4<R,P1,P2,P3,P4>p_param1 - the parameter to bind to the first parameter of the function.p_param2 - the parameter to bind to the second parameter of the function.
public Function1<R,P4> bind(P1 p_param1,
P2 p_param2,
P3 p_param3)
Function4
bind in interface Function4<R,P1,P2,P3,P4>p_param1 - the parameter to bind to the first parameter of the function.p_param2 - the parameter to bind to the second parameter of the function.p_param3 - the parameter to bind to the third parameter of the function.
public Function0<R> bind(P1 p_param1,
P2 p_param2,
P3 p_param3,
P4 p_param4)
Function4
bind in interface Function4<R,P1,P2,P3,P4>p_param1 - the parameter to bind to the first parameter of the function.p_param2 - the parameter to bind to the second parameter of the function.p_param3 - the parameter to bind to the third parameter of the function.p_param4 - the parameter to bind to the fourth parameter of the function.
public Function3<R,P1,P3,P4> bind2(P2 p_param2)
Function4
bind2 in interface Function4<R,P1,P2,P3,P4>p_param2 - the parameter to bind to the second parameter of the function.
public Function3<R,P1,P2,P4> bind3(P3 p_param3)
Function4
bind3 in interface Function4<R,P1,P2,P3,P4>p_param3 - the parameter to bind to the third parameter of the function.
public Function3<R,P1,P2,P3> bind4(P4 p_param4)
Function4
bind4 in interface Function4<R,P1,P2,P3,P4>p_param4 - the parameter to bind to the fourth parameter of the function.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||