| Modifier and Type | Method and Description |
|---|---|
static <R,T1,T2> BinaryAction<T1,T2> |
Dispatching.action(BinaryDelegate<R,T1,T2> delegate)
Adapts a binary delegate to a binary action.
|
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> BinaryAction<T1,T2> |
Dispatching.ignore1st(Action<T2> action,
Class<T1> ignored)
Adapts an action to a binary action by ignoring the first parameter.
|
static <T1,T2> BinaryAction<T1,T2> |
Dispatching.ignore2nd(Action<T1> action,
Class<T2> ignored)
Adapts an action to a binary action by ignoring the second parameter.
|
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> BinaryAction<T1,T2> |
Spies.monitor(BinaryAction<T1,T2> action,
AtomicLong calls)
Monitors calls to a binary action.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2>... actions)
Creates a pipeline from an array of binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> action)
Creates a pipeline from a binary action.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> former,
BinaryAction<T1,T2> latter)
Creates a pipeline from two binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> first,
BinaryAction<T1,T2> second,
BinaryAction<T1,T2> third)
Creates a pipeline from three binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.Binary.pipeline(Iterable<BinaryAction<T1,T2>> actions)
Creates a pipeline from an iterable of binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.Binary.pipeline(Iterator<BinaryAction<T1,T2>> actions)
Creates a pipeline from an iterator of binary 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> BinaryAction<T1,T2> |
Spies.spy(BinaryAction<T1,T2> action,
Box<T1> param1,
Box<T2> param2)
Proxies a binary action spying for parameters.
|
static <T1,T2> BinaryAction<T1,T2> |
Spies.spy1st(BinaryAction<T1,T2> action,
Box<T1> param1)
Proxies a binary action spying for first parameter.
|
static <T1,T2> BinaryAction<T1,T2> |
Spies.spy2nd(BinaryAction<T1,T2> action,
Box<T2> param2)
Proxies a binary action spying for second parameter.
|
static <T,U> BinaryAction<T,U> |
Tuples.Pairs.untupled(Action<Pair<T,U>> action)
Adapts an action accepting a pair to a binary action.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> Action<T2> |
Dispatching.curry(BinaryAction<T1,T2> action,
T1 first)
Partial application of the first parameter to a binary action.
|
static <T1,T2> BinaryDelegate<Void,T1,T2> |
Dispatching.delegate(BinaryAction<T1,T2> adaptee)
Adapts a binary action to a binary delegate.
|
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> BinaryAction<T1,T2> |
Spies.monitor(BinaryAction<T1,T2> action,
AtomicLong calls)
Monitors calls to a binary action.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2>... actions)
Creates a pipeline from an array of binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> action)
Creates a pipeline from a binary action.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> former,
BinaryAction<T1,T2> latter)
Creates a pipeline from two binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> former,
BinaryAction<T1,T2> latter)
Creates a pipeline from two binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> first,
BinaryAction<T1,T2> second,
BinaryAction<T1,T2> third)
Creates a pipeline from three binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> first,
BinaryAction<T1,T2> second,
BinaryAction<T1,T2> third)
Creates a pipeline from three binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.pipeline(BinaryAction<T1,T2> first,
BinaryAction<T1,T2> second,
BinaryAction<T1,T2> third)
Creates a pipeline from three binary actions.
|
static <T1,T2> Action<T1> |
Dispatching.rcurry(BinaryAction<T1,T2> action,
T2 second)
Partial application of the last (rightmost) parameter to a binary action.
|
static <T1,T2> BinaryAction<T1,T2> |
Spies.spy(BinaryAction<T1,T2> action,
Box<T1> param1,
Box<T2> param2)
Proxies a binary action spying for parameters.
|
static <T1,T2> BinaryAction<T1,T2> |
Spies.spy1st(BinaryAction<T1,T2> action,
Box<T1> param1)
Proxies a binary action spying for first parameter.
|
static <T1,T2> BinaryAction<T1,T2> |
Spies.spy2nd(BinaryAction<T1,T2> action,
Box<T2> param2)
Proxies a binary action spying for second parameter.
|
static <T,U> Action<Pair<T,U>> |
Tuples.tupled(BinaryAction<T,U> action)
Adapts a binary action to an action accepting a pair.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.Binary.pipeline(Iterable<BinaryAction<T1,T2>> actions)
Creates a pipeline from an iterable of binary actions.
|
static <T1,T2> BinaryAction<T1,T2> |
Pipelines.Binary.pipeline(Iterator<BinaryAction<T1,T2>> actions)
Creates a pipeline from an iterator of binary actions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryNoop<T1,T2>
A null binary functor with no return value effectively doing nothing.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActionBinderFirstOfThree<T1,T2,T3>
Ternary to binary action adapter.
|
class |
ActionBinderSecondOfThree<T1,T2,T3>
Ternary to binary action adapter.
|
class |
ActionBinderThird<T1,T2,T3>
Ternary to binary action adapter.
|
class |
ActionIgnoreFirst<T1,T2>
Adapts an action to a binary action.
|
class |
ActionIgnoreSecond<T1,T2>
Adapts an action to a binary action.
|
class |
BinaryDelegateToBinaryAction<R,T1,T2>
Adapts a binary delegate to a binary action.
|
| Constructor and Description |
|---|
ActionBinderFirst(BinaryAction<T1,T2> adaptee,
T1 first) |
ActionBinderSecond(BinaryAction<T1,T2> adaptee,
T2 second) |
ActionIgnoreFirstOfThree(BinaryAction<T2,T3> adaptee) |
ActionIgnoreSecondOfThree(BinaryAction<T1,T3> adaptee) |
ActionIgnoreThird(BinaryAction<T1,T2> adaptee) |
BinaryActionToBinaryDelegate(BinaryAction<T1,T2> adaptee) |
| Modifier and Type | Class and Description |
|---|---|
class |
PipelinedBinaryAction<E1,E2>
A composite binary functor with no return value.
|
| Constructor and Description |
|---|
PipelinedBinaryAction(Iterable<BinaryAction<E1,E2>> actions) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryCapturingAction<T1,T2>
Proxies a binary action capturing parameters.
|
class |
BinaryMonitoringAction<T1,T2>
Proxies a binary action monitoring its calls.
|
| Constructor and Description |
|---|
BinaryCapturingAction(BinaryAction<T1,T2> nested,
Box<T1> param1,
Box<T2> param2) |
BinaryMonitoringAction(BinaryAction<T1,T2> nested,
AtomicLong calls) |
| Modifier and Type | Class and Description |
|---|---|
class |
Sleep |
class |
SleepAtLeast |
class |
TrySleep |
| Modifier and Type | Class and Description |
|---|---|
class |
UnaryToBinaryAction<T1,T2>
Adapts a unary action handling pairs to a binary action.
|
| Constructor and Description |
|---|
BinaryToUnaryAction(BinaryAction<T1,T2> action) |
Copyright © 2016. All rights reserved.