|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A - function first argument typeB - function second argument typeC - function return type@Applicative public interface Function3<A,B,C,D>
Function3s are rich interfaced Applicable3s - two arguments
Delayable3 and NullSafeAware transformations.
Function3 can also be partially
applied, which means, applying it with less arguments than required,
returning, instead of the result of the transformation, a new function that
expects the rest of the arguments. Thus, Function3 do also implement
Applicable and Applicable2
| Method Summary | |
|---|---|
Function2<B,C,D> |
apply(A arg0)
Partially applies the function, passing only its first argument |
Function<C,D> |
apply(A arg0,
B arg1)
Partially applies the function, passing only its first and second arguments |
D |
apply(A arg0,
B arg1,
C arg2)
Performs a transformation on the given element, and returns its result. |
Function3<A,B,C,D> |
nullSafe()
Answers a new function that returns null if any of its arguments is null, or the result of applying this function, otherwise. |
Function<Tuple3<A,B,C>,D> |
uncurry()
Uncurries this function, by returning a Function that takes a
single triple, being its components each of the original function
parameters |
| Methods inherited from interface net.sf.staccatocommons.defs.Delayable3 |
|---|
delayed, delayedValue |
| Method Detail |
|---|
Function2<B,C,D> apply(A arg0)
apply in interface Applicable<A,Function2<B,C,D>>arg0 - the transformation
Function<C,D> apply(A arg0,
B arg1)
apply in interface Applicable2<A,B,Function<C,D>>arg0 - the first transformation argumentarg1 - the second transformation argument
D apply(A arg0,
B arg1,
C arg2)
Applicable3
apply in interface Applicable3<A,B,C,D>arg0 - the first transformation argumentarg1 - the second transformation argumentarg2 - the third transformation argument
@NullSafe Function3<A,B,C,D> nullSafe()
nullSafe in interface NullSafeAware<Function3<A,B,C,D>>Function3Function<Tuple3<A,B,C>,D> uncurry()
Function that takes a
single triple, being its components each of the original function
parameters
Function
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||