| Modifier and Type | Method and Description |
|---|---|
static <R,T1,T2,T3> |
Dispatching.action(TernaryDelegate<R,T1,T2,T3> delegate)
Adapts a ternary delegate to a ternary action.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Dispatching.ignore1st(BinaryAction<T2,T3> action,
Class<T1> ignored)
Adapts a binary action to a ternary action by ignoring the first
parameter.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Dispatching.ignore2nd(BinaryAction<T1,T3> action,
Class<T2> ignored)
Adapts a binary action to a ternary action by ignoring the second
parameter.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Dispatching.ignore3rd(BinaryAction<T1,T2> action,
Class<T3> ignored)
Adapts a binary action to a ternary action by ignoring the third
parameter.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.monitor(TernaryAction<T1,T2,T3> action,
AtomicLong calls)
Monitors calls to a ternary action.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterable<TernaryAction<T1,T2,T3>> actions)
Creates a pipeline from an iterable of ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterator<TernaryAction<T1,T2,T3>> actions)
Creates a pipeline from an iterator of ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3>... actions)
Creates a pipeline from an array of ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> action)
Creates a pipeline from a ternary action.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> former,
TernaryAction<T1,T2,T3> latter)
Creates a pipeline from two ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> first,
TernaryAction<T1,T2,T3> second,
TernaryAction<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy(TernaryAction<T1,T2,T3> action,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary action spying for parameters.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy1st(TernaryAction<T1,T2,T3> action,
Box<T1> param1)
Proxies a ternary action spying for first parameter.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy2nd(TernaryAction<T1,T2,T3> action,
Box<T2> param2)
Proxies a ternary action spying for second parameter.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy3rd(TernaryAction<T1,T2,T3> action,
Box<T3> param3)
Proxies a ternary action spying for third parameter.
|
static <T,U,V> TernaryAction<T,U,V> |
Tuples.Triples.untupled(Action<Triple<T,U,V>> action)
Adapts an action accepting a triple to a ternary action.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3> BinaryAction<T2,T3> |
Dispatching.curry(TernaryAction<T1,T2,T3> action,
T1 first)
Partial application of the first parameter to a ternary action.
|
static <T1,T2,T3> TernaryDelegate<Void,T1,T2,T3> |
Dispatching.delegate(TernaryAction<T1,T2,T3> adaptee)
Adapts a ternary action to a ternary delegate.
|
static <T1,T2,T3> BinaryAction<T1,T3> |
Dispatching.mcurry(TernaryAction<T1,T2,T3> action,
T2 second)
Partial application of the second (middle) parameter to a ternary action.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.monitor(TernaryAction<T1,T2,T3> action,
AtomicLong calls)
Monitors calls to a ternary action.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3>... actions)
Creates a pipeline from an array of ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> action)
Creates a pipeline from a ternary action.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> former,
TernaryAction<T1,T2,T3> latter)
Creates a pipeline from two ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> former,
TernaryAction<T1,T2,T3> latter)
Creates a pipeline from two ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> first,
TernaryAction<T1,T2,T3> second,
TernaryAction<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> first,
TernaryAction<T1,T2,T3> second,
TernaryAction<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.pipeline(TernaryAction<T1,T2,T3> first,
TernaryAction<T1,T2,T3> second,
TernaryAction<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> BinaryAction<T1,T2> |
Dispatching.rcurry(TernaryAction<T1,T2,T3> action,
T3 third)
Partial application of the last (rightmost) parameter to a ternary
action.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy(TernaryAction<T1,T2,T3> action,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary action spying for parameters.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy1st(TernaryAction<T1,T2,T3> action,
Box<T1> param1)
Proxies a ternary action spying for first parameter.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy2nd(TernaryAction<T1,T2,T3> action,
Box<T2> param2)
Proxies a ternary action spying for second parameter.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Spies.spy3rd(TernaryAction<T1,T2,T3> action,
Box<T3> param3)
Proxies a ternary action spying for third parameter.
|
static <T,U,V> Action<Triple<T,U,V>> |
Tuples.tupled(TernaryAction<T,U,V> action)
Adapts a ternary action to an action accepting a triple.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterable<TernaryAction<T1,T2,T3>> actions)
Creates a pipeline from an iterable of ternary actions.
|
static <T1,T2,T3> TernaryAction<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterator<TernaryAction<T1,T2,T3>> actions)
Creates a pipeline from an iterator of ternary actions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryNoop<T1,T2,T3>
A null ternary functor with no return value effectively doing nothing.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActionIgnoreFirstOfThree<T1,T2,T3>
Adapts a binary action to a ternary action.
|
class |
ActionIgnoreSecondOfThree<T1,T2,T3>
Adapts a binary action to a ternary action.
|
class |
ActionIgnoreThird<T1,T2,T3>
Adapts a binary action to a ternary action.
|
class |
TernaryDelegateToTernaryAction<R,T1,T2,T3>
Adapts a ternary delegate to a ternary action.
|
| Constructor and Description |
|---|
ActionBinderFirstOfThree(TernaryAction<T1,T2,T3> adaptee,
T1 first) |
ActionBinderSecondOfThree(TernaryAction<T1,T2,T3> adaptee,
T2 second) |
ActionBinderThird(TernaryAction<T1,T2,T3> adaptee,
T3 third) |
TernaryActionToTernaryDelegate(TernaryAction<T1,T2,T3> adaptee) |
| Modifier and Type | Class and Description |
|---|---|
class |
PipelinedTernaryAction<E1,E2,E3>
A composite ternary functor with no return value.
|
| Constructor and Description |
|---|
PipelinedTernaryAction(Iterable<TernaryAction<E1,E2,E3>> actions) |
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryCapturingAction<T1,T2,T3>
Proxies a ternary action capturing parameters.
|
class |
TernaryMonitoringAction<T1,T2,T3>
Proxies a ternary action monitoring its calls.
|
| Constructor and Description |
|---|
TernaryCapturingAction(TernaryAction<T1,T2,T3> nested,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3) |
TernaryMonitoringAction(TernaryAction<T1,T2,T3> nested,
AtomicLong calls) |
| Modifier and Type | Class and Description |
|---|---|
class |
UnaryToTernaryAction<T1,T2,T3>
Adapts a unary action handling triples to a ternary action.
|
| Constructor and Description |
|---|
TernaryToUnaryAction(TernaryAction<T1,T2,T3> action) |
Copyright © 2013. All Rights Reserved.