|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Function | |
|---|---|
| net.sf.staccatocommons.defs.function | |
| net.sf.staccatocommons.defs.type | |
| Uses of Function in net.sf.staccatocommons.defs.function |
|---|
| Methods in net.sf.staccatocommons.defs.function that return Function | ||
|---|---|---|
Function<B,C> |
Function2.apply(A arg0)
Partially applies the function passing just its first parameter |
|
Function<C,D> |
Function3.apply(A arg0,
B arg1)
Partially applies the function, passing only its first and second arguments |
|
Function<A,B> |
Function.nullSafe()
Answers a new function that returns null if is argument is null, or the result of applying this function, otherwise. |
|
|
Function.of(Applicable<? super C,? extends A> other)
Composes this function with another Applicable, resulting in a new
Function that when applied returns
this.apply(other.apply(arg) |
|
|
Function.then(Function<? super B,? extends C> other)
Pipeline combination, equivalent to function composition, like but with receptor and argument interchanged. |
|
Function<Tuple2<A,B>,C> |
Function2.uncurry()
Uncurries this function, by returning a Function that takes a
single pair, being its components each of the original function parameters |
|
Function<Tuple3<A,B,C>,D> |
Function3.uncurry()
Uncurries this function, by returning a Function that takes a
single triple, being its components each of the original function
parameters |
|
| Methods in net.sf.staccatocommons.defs.function with parameters of type Function | ||
|---|---|---|
|
Function.then(Function<? super B,? extends C> other)
Pipeline combination, equivalent to function composition, like but with receptor and argument interchanged. |
|
|
Function2.then(Function<? super C,? extends D> other)
Function composition, like of(Applicable2), but with
receptor and argument interchanged. |
|
|
Function.then(Function2<B,B2,C> binayFunction,
Function<? super A2,? extends B2> other)
Merge combination. |
|
|
Function2.then(Function2<C,B2,D> binaryFunction,
Function<? super A2,? extends B2> other)
Answers a three arg function that combines this function with
other function, using a binaryFunction to merge
the results. |
|
| Uses of Function in net.sf.staccatocommons.defs.type |
|---|
| Methods in net.sf.staccatocommons.defs.type that return Function | |
|---|---|
Function<A,A> |
NumberType.abs()
Answers a function that returns the absolute value of its argument, as specified by NumberType.abs(Object) |
Function<A,A> |
NumberType.add(A n)
Answers function that adds the given number to its argument, as specified by NumberType.add(Object, Object). |
Function<A,A> |
NumberType.inverse()
Answers a function that returns the ivnerse of its argument, as defined by NumberType.inverse(Object) |
Function<A,A> |
NumberType.negate()
Answers a function that negates its argument, as specified by NumberType.negate(Object) |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||