|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.javelot.functionalj.Function1Impl
A base implementation of the Function1 interface, which implements all
methods except for the Function1.call(Object) method - that is left to subclasses
to implement in order to define a function of 1 parameter.
| Constructor Summary | |
Function1Impl()
|
|
| Method Summary | |
Function0 |
bind(Object p_param)
Binds the parameter of this function of 1 parameter to return a new function of no parameters. |
Function0 |
compose(Function0 p_function0)
Composes this function with the given function to return a new function according to function composition as described in the interface Function1. |
Function1 |
compose(Function1 p_function1)
Composes this function with the given function to return a new function according to function composition as described in the interface Function1. |
Function2 |
compose(Function2 p_function2)
Composes this function with the given function to return a new function according to function composition as described in the interface Function1. |
Function3 |
compose(Function3 p_function3)
Composes this function with the given function to return a new function according to function composition as described in the interface Function1. |
Function4 |
compose(Function4 p_function4)
Composes this function with the given function to return a new function according to function composition as described in the interface Function1. |
FunctionN |
compose(FunctionN p_functionN)
Composes this function with the given function to return a new function according to function composition as described in the interface Function1. |
| 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.Function1 |
call |
| Constructor Detail |
public Function1Impl()
| Method Detail |
public Function0 bind(Object p_param)
Function1
bind in interface Function1p_param - the parameter to bind to the function.
public Function0 compose(Function0 p_function0)
Function1Function1.
compose in interface Function1p_function0 - the function g to compose with this function
f.
h such that h(x) = f(g(x)),
where x represents all parameters accepted by g.public Function1 compose(Function1 p_function1)
Function1Function1.
compose in interface Function1p_function1 - the function g to compose with this function
f.
h such that h(x) = f(g(x)),
where x represents all parameters accepted by g.public Function2 compose(Function2 p_function2)
Function1Function1.
compose in interface Function1p_function2 - the function g to compose with this function
f.
h such that h(x) = f(g(x)),
where x represents all parameters accepted by g.public Function3 compose(Function3 p_function3)
Function1Function1.
compose in interface Function1p_function3 - the function g to compose with this function
f.
h such that h(x) = f(g(x)),
where x represents all parameters accepted by g.public Function4 compose(Function4 p_function4)
Function1Function1.
compose in interface Function1p_function4 - the function g to compose with this function
f.
h such that h(x) = f(g(x)),
where x represents all parameters accepted by g.public FunctionN compose(FunctionN p_functionN)
Function1Function1.
compose in interface Function1p_functionN - the function g to compose with this function
f.
h such that h(x) = f(g(x)),
where x represents all parameters accepted by g.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||