| Modifier and Type | Method and Description |
|---|---|
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> TernaryDelegate<Boolean,T1,T2,T3> |
Dispatching.delegate(TernaryPredicate<T1,T2,T3> adaptee)
Adapts a ternary predicate to a ternary delegate.
|
static <R,T1,T2,T3> |
Dispatching.ignore1st(BinaryDelegate<R,T2,T3> delegate,
Class<T1> ignored)
Adapts a binary delegate to a ternary delegate by ignoring the first
parameter.
|
static <R,T1,T2,T3> |
Dispatching.ignore2nd(BinaryDelegate<R,T1,T3> delegate,
Class<T2> ignored)
Adapts a binary delegate to a ternary delegate by ignoring the second
parameter.
|
static <R,T1,T2,T3> |
Dispatching.ignore3rd(BinaryDelegate<R,T1,T2> delegate,
Class<T3> ignored)
Adapts a binary delegate to a ternary delegate by ignoring the third
parameter.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
Iterable<I> interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
Iterator<I> interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3>... interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3> interceptor)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second,
TernaryInterceptor<T1,T2,T3> third)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Spies.monitor(TernaryDelegate<R,T1,T2,T3> delegate,
AtomicLong calls)
Monitors calls to a ternary delegate.
|
static <R,T1,T2,T3> |
Spies.spy(TernaryDelegate<R,T1,T2,T3> delegate,
Box<R> result,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary delegate spying for result and parameters.
|
static <R,T1,T2,T3> |
Spies.spy1st(TernaryDelegate<R,T1,T2,T3> delegate,
Box<T1> param1)
Proxies a ternary delegate spying for first parameter.
|
static <R,T1,T2,T3> |
Spies.spy2nd(TernaryDelegate<R,T1,T2,T3> delegate,
Box<T2> param2)
Proxies a ternary delegate spying for second parameter
|
static <R,T1,T2,T3> |
Spies.spy3rd(TernaryDelegate<R,T1,T2,T3> delegate,
Box<T3> param3)
Proxies a ternary delegate spying for third parameter.
|
static <R,T1,T2,T3> |
Spies.spyRes(TernaryDelegate<R,T1,T2,T3> delegate,
Box<R> result)
Proxies a ternary delegate spying for result.
|
static <R,T,U,V> TernaryDelegate<R,T,U,V> |
Tuples.Triples.untupled(Delegate<R,Triple<T,U,V>> delegate)
Adapts a delegate accepting a triple to a ternary delegate.
|
| 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 <R,T1,T2,T3> |
Compositions.compose(Predicate<R> predicate,
TernaryDelegate<R,T1,T2,T3> delegate)
Composes a predicate with a ternary delegate (predicate ° delegate).
|
static <R,T1,T2,T3> |
Dispatching.curry(TernaryDelegate<R,T1,T2,T3> delegate,
T1 first)
Partial application of the first parameter to a ternary delegate.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
Iterable<I> interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
Iterator<I> interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3>... interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3> interceptor)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Interceptors.intercept(TernaryDelegate<R,T1,T2,T3> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second,
TernaryInterceptor<T1,T2,T3> third)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3> |
Dispatching.mcurry(TernaryDelegate<R,T1,T2,T3> delegate,
T2 second)
Partial application of the second (middle) parameter to a ternary
delegate.
|
static <R,T1,T2,T3> |
Spies.monitor(TernaryDelegate<R,T1,T2,T3> delegate,
AtomicLong calls)
Monitors calls to a ternary delegate.
|
static <T1,T2,T3> TernaryPredicate<T1,T2,T3> |
Dispatching.predicate(TernaryDelegate<Boolean,T1,T2,T3> delegate)
Adapts a ternary delegate to a ternary predicate.
|
static <R,T1,T2,T3> |
Dispatching.rcurry(TernaryDelegate<R,T1,T2,T3> delegate,
T3 third)
Partial application of the last (rightmost) parameter to a ternary
delegate.
|
static <R,T1,T2,T3> |
Spies.spy(TernaryDelegate<R,T1,T2,T3> delegate,
Box<R> result,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary delegate spying for result and parameters.
|
static <R,T1,T2,T3> |
Spies.spy1st(TernaryDelegate<R,T1,T2,T3> delegate,
Box<T1> param1)
Proxies a ternary delegate spying for first parameter.
|
static <R,T1,T2,T3> |
Spies.spy2nd(TernaryDelegate<R,T1,T2,T3> delegate,
Box<T2> param2)
Proxies a ternary delegate spying for second parameter
|
static <R,T1,T2,T3> |
Spies.spy3rd(TernaryDelegate<R,T1,T2,T3> delegate,
Box<T3> param3)
Proxies a ternary delegate spying for third parameter.
|
static <R,T1,T2,T3> |
Spies.spyRes(TernaryDelegate<R,T1,T2,T3> delegate,
Box<R> result)
Proxies a ternary delegate spying for result.
|
static <R,T,U,V> Delegate<R,Triple<T,U,V>> |
Tuples.tupled(TernaryDelegate<R,T,U,V> delegate)
Adapts a ternary delegate to a delegate accepting a triple.
|
| Constructor and Description |
|---|
TransformingTernaryPredicate(Predicate<R> predicate,
TernaryDelegate<R,T1,T2,T3> delegate) |
| Modifier and Type | Class and Description |
|---|---|
class |
IgnoreFirstOfThree<R,T1,T2,T3>
Adapts a binary delegate to a ternary delegate.
|
class |
IgnoreSecondOfThree<R,T1,T2,T3>
Adapts a binary delegate to a ternary delegate.
|
class |
IgnoreThird<R,T1,T2,T3>
Adapts a binary delegate to a Ternary delegate.
|
class |
TernaryActionToTernaryDelegate<T1,T2,T3>
Adapts a ternary action to a ternary delegate.
|
class |
TernaryPredicateToTernaryDelegate<T1,T2,T3>
Adapts a ternary predicate to a ternary delegate with Boolean result type.
|
| Constructor and Description |
|---|
BinderFirstOfThree(TernaryDelegate<R,T1,T2,T3> adaptee,
T1 first) |
BinderSecondOfThree(TernaryDelegate<R,T1,T2,T3> adaptee,
T2 second) |
BinderThird(TernaryDelegate<R,T1,T2,T3> adaptee,
T3 third) |
TernaryDelegateToTernaryAction(TernaryDelegate<R,T1,T2,T3> adaptee) |
TernaryDelegateToTernaryPredicate(TernaryDelegate<Boolean,T1,T2,T3> adaptee) |
| Modifier and Type | Class and Description |
|---|---|
class |
FirstParamOfThree<T1,T2,T3>
A ternary delegate yielding the first passed parameter.
|
class |
SecondParamOfThree<T1,T2,T3>
A ternary delegate yielding the second passed parameter.
|
class |
ThirdParam<T1,T2,T3>
A ternary delegate yielding third passed parameter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryCapturingDelegate<R,T1,T2,T3>
Proxies a ternary delegate capturing parameters and result.
|
class |
TernaryMonitoringDelegate<R,T1,T2,T3>
Proxies a ternary delegate monitoring its calls.
|
| Constructor and Description |
|---|
TernaryCapturingDelegate(TernaryDelegate<R,T1,T2,T3> nested,
Box<R> result,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3) |
TernaryMonitoringDelegate(TernaryDelegate<R,T1,T2,T3> nested,
AtomicLong calls) |
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryInterceptorAdapter<R,T1,T2,T3>
A ternary interceptor to ternary delegate adapter.
|
class |
TernaryInterceptorChain<R,T1,T2,T3>
Composes a delegate with an iterator of interceptors.
|
| Constructor and Description |
|---|
TernaryInterceptorAdapter(TernaryInterceptor<T1,T2,T3> interceptor,
TernaryDelegate<R,T1,T2,T3> inner) |
TernaryInterceptorChain(TernaryDelegate<R,T1,T2,T3> innermost,
Iterator<I> chain) |
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryIdentity<T1,T2,T3>
Returns the three formal parameters (in a triple) passed to the delegate.
|
class |
UnaryToTernaryDelegate<R,T1,T2,T3>
Adapts a unary delegate handling triples to a ternary delegate.
|
| Constructor and Description |
|---|
TernaryToUnaryDelegate(TernaryDelegate<R,T1,T2,T3> delegate) |
Copyright © 2013. All rights reserved.