|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Applicable | |
|---|---|
| net.sf.staccatocommons.defs | This package contains function-like interfaces of different arities - number or arguments -, and interfaces that describe container-like objects |
| net.sf.staccatocommons.defs.function | |
| net.sf.staccatocommons.defs.predicate | |
| net.sf.staccatocommons.defs.reduction | |
| Uses of Applicable in net.sf.staccatocommons.defs |
|---|
| Methods in net.sf.staccatocommons.defs with parameters of type Applicable | ||
|---|---|---|
|
ProtoMonad.map(Applicable<? super A,? extends B> function)
Transforms each element using the given function |
|
| Uses of Applicable in net.sf.staccatocommons.defs.function |
|---|
| Subinterfaces of Applicable in net.sf.staccatocommons.defs.function | |
|---|---|
interface |
Function<A,B>
Functions are rich interfaced Applicables - one argument
composable, Delayable and NullSafeAware tranformations. |
interface |
Function2<A,B,C>
Function2s are rich interfaced Applicable2s - two arguments
Delayable2 and NullSafeAware transformations. |
interface |
Function3<A,B,C,D>
Function3s are rich interfaced Applicable3s - two arguments
Delayable3 and NullSafeAware transformations. |
| Methods in net.sf.staccatocommons.defs.function with parameters of type Applicable | ||
|---|---|---|
|
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) |
|
|
Function2.of(Applicable<? super D,? extends A> function)
|
|
| Uses of Applicable in net.sf.staccatocommons.defs.predicate |
|---|
| Subinterfaces of Applicable in net.sf.staccatocommons.defs.predicate | |
|---|---|
interface |
Predicate<A>
A rich Evaluable |
interface |
Predicate2<A,B>
A rich Evaluable2 |
| Methods in net.sf.staccatocommons.defs.predicate with parameters of type Applicable | ||
|---|---|---|
|
Predicate.of(Applicable<? super B,? extends A> other)
Composes this predicate with another Applicable, resulting in a new
Predicate that when applied returns
this.eval(other.apply(arg) |
|
| Uses of Applicable in net.sf.staccatocommons.defs.reduction |
|---|
| Methods in net.sf.staccatocommons.defs.reduction with parameters of type Applicable | ||
|---|---|---|
|
Reduction.of(Applicable<D,A> function)
Composes this reduction with a function, by returning a new Reduction that will apply this reduction to the results of
applying the given function to each element
For example, the following code:
Reductions. |
|
|
Reduction.then(Applicable<B,D> function)
Composes the given function with this reduction, by returning a new Reduction that applies the function to the resulting
element of the reduction
For example, the following code:
Reductions. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||