|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Function2 | |
|---|---|
| net.sf.staccatocommons.defs.function | |
| net.sf.staccatocommons.defs.type | |
| Uses of Function2 in net.sf.staccatocommons.defs.function |
|---|
| Methods in net.sf.staccatocommons.defs.function that return Function2 | ||
|---|---|---|
Function2<B,C,D> |
Function3.apply(A arg0)
Partially applies the function, passing only its first argument |
|
Function2<B,A,C> |
Function2.flip()
Inverts function parameters order |
|
Function2<A,B,C> |
Function2.nullSafe()
Answers a new function that returns null if any of its arguments is null, or the result of applying this function, otherwise. |
|
|
Function2.of(Applicable<? super D,? extends A> function)
|
|
|
Function.of(Applicable2<Tp1,Tp2,? extends A> other)
Composes this function with another Applicable2, resulting in a new
Function2 that when applied returns
this.apply(other.apply(arg0, arg1) |
|
|
Function2.then(Function<? super C,? extends D> other)
Function composition, like Function.of(Applicable2), but with
receptor and argument interchanged. |
|
|
Function.then(Function2<B,B2,C> binayFunction,
Function<? super A2,? extends B2> other)
Merge combination. |
|
| Methods in net.sf.staccatocommons.defs.function with parameters of type Function2 | ||
|---|---|---|
|
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 Function2 in net.sf.staccatocommons.defs.type |
|---|
| Methods in net.sf.staccatocommons.defs.type that return Function2 | |
|---|---|
Function2<A,A,A> |
NumberType.add()
Answers a 2-arguments function that perform addition as specified by NumberType.add(Object, Object) |
Function2<A,A,A> |
NumberType.multiply()
Answers a 2-arguments function that perform multiplication as specified by NumberType.multiply(Object, Object) |
Function2<A,A,A> |
IntegralType.remainder()
Answers a binary function that return reminder as specified by IntegralType.remainder(Object, Object) |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||