| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3,T4,R> |
Compositions.compose(Function<T4,R> unary,
TriFunction<T1,T2,T3,T4> ternary)
Composes a function with a ternary function.
|
static <T1,T2,T3> TriFunction<T1,T2,T3,Void> |
Dispatching.function(TriConsumer<T1,T2,T3> adaptee)
Adapts a ternary consumer to a ternary function.
|
static <T1,T2,T3> TriFunction<T1,T2,T3,Boolean> |
Dispatching.function(TriPredicate<T1,T2,T3> adaptee)
Adapts a ternary predicate to a ternary function.
|
static <T1,T2,T3,R> |
Dispatching.ignore1st(BiFunction<T2,T3,R> function,
Class<T1> ignored)
Adapts a binary function to a ternary function by ignoring the first
parameter.
|
static <T1,T2,T3,R> |
Dispatching.ignore2nd(BiFunction<T1,T3,R> function,
Class<T2> ignored)
Adapts a binary function to a ternary function by ignoring the second
parameter.
|
static <T1,T2,T3,R> |
Dispatching.ignore3rd(BiFunction<T1,T2,R> function,
Class<T3> ignored)
Adapts a binary function to a ternary function by ignoring the third
parameter.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
Iterable<I> interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
Iterator<I> interceptors)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3>... interceptors)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> interceptor)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second,
TernaryInterceptor<T1,T2,T3> third)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Spies.monitor(TriFunction<T1,T2,T3,R> function,
AtomicLong calls)
Monitors calls to a ternary function.
|
static <T1,T2,T3,R> |
Spies.spy(TriFunction<T1,T2,T3,R> function,
Box<R> result,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary function spying for result and parameters.
|
static <T1,T2,T3,R> |
Spies.spy1st(TriFunction<T1,T2,T3,R> function,
Box<T1> param1)
Proxies a ternary function spying for first parameter.
|
static <T1,T2,T3,R> |
Spies.spy2nd(TriFunction<T1,T2,T3,R> function,
Box<T2> param2)
Proxies a ternary function spying for second parameter
|
static <T1,T2,T3,R> |
Spies.spy3rd(TriFunction<T1,T2,T3,R> function,
Box<T3> param3)
Proxies a ternary function spying for third parameter.
|
static <T1,T2,T3,R> |
Spies.spyRes(TriFunction<T1,T2,T3,R> function,
Box<R> result)
Proxies a ternary function spying for result.
|
static <T,U,V,R> TriFunction<T,U,V,R> |
Tuples.Triples.untupled(Function<Triple<T,U,V>,R> function)
Adapts a function accepting a triple to a ternary function.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3,T4,R> |
Compositions.compose(Function<T4,R> unary,
TriFunction<T1,T2,T3,T4> ternary)
Composes a function with a ternary function.
|
static <T1,T2,T3,R> |
Compositions.compose(Predicate<R> predicate,
TriFunction<T1,T2,T3,R> function)
Composes a predicate with a ternary function (predicate ° function).
|
static <T1,T2,T3,R> |
Dispatching.consumer(TriFunction<T1,T2,T3,R> function)
Adapts a ternary function to a ternary consumer.
|
static <T1,T2,T3,R> |
Dispatching.curry(TriFunction<T1,T2,T3,R> function,
T1 first)
Partial application of the first parameter to a ternary function.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
Iterable<I> interceptors)
Creates a ternary interceptor chain.
|
static <R,T1,T2,T3,I extends TernaryInterceptor<T1,T2,T3>> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
Iterator<I> interceptors)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3>... interceptors)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> interceptor)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Interceptors.intercept(TriFunction<T1,T2,T3,R> innermost,
TernaryInterceptor<T1,T2,T3> first,
TernaryInterceptor<T1,T2,T3> second,
TernaryInterceptor<T1,T2,T3> third)
Creates a ternary interceptor chain.
|
static <T1,T2,T3,R> |
Dispatching.mcurry(TriFunction<T1,T2,T3,R> function,
T2 second)
Partial application of the second (middle) parameter to a ternary
function.
|
static <T1,T2,T3,R> |
Spies.monitor(TriFunction<T1,T2,T3,R> function,
AtomicLong calls)
Monitors calls to a ternary function.
|
static <T1,T2,T3> TriPredicate<T1,T2,T3> |
Dispatching.predicate(TriFunction<T1,T2,T3,Boolean> function)
Adapts a ternary function to a ternary predicate.
|
static <T1,T2,T3,R> |
Dispatching.rcurry(TriFunction<T1,T2,T3,R> function,
T3 third)
Partial application of the last (rightmost) parameter to a ternary
function.
|
static <T1,T2,T3,R> |
Spies.spy(TriFunction<T1,T2,T3,R> function,
Box<R> result,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary function spying for result and parameters.
|
static <T1,T2,T3,R> |
Spies.spy1st(TriFunction<T1,T2,T3,R> function,
Box<T1> param1)
Proxies a ternary function spying for first parameter.
|
static <T1,T2,T3,R> |
Spies.spy2nd(TriFunction<T1,T2,T3,R> function,
Box<T2> param2)
Proxies a ternary function spying for second parameter
|
static <T1,T2,T3,R> |
Spies.spy3rd(TriFunction<T1,T2,T3,R> function,
Box<T3> param3)
Proxies a ternary function spying for third parameter.
|
static <T1,T2,T3,R> |
Spies.spyRes(TriFunction<T1,T2,T3,R> function,
Box<R> result)
Proxies a ternary function spying for result.
|
static <T,U,V,R> Function<Triple<T,U,V>,R> |
Tuples.tupled(TriFunction<T,U,V,R> function)
Adapts a ternary function to a function accepting a triple.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FirstParamOfThree<T1,T2,T3>
A ternary function yielding the first passed parameter.
|
class |
SecondParamOfThree<T1,T2,T3>
A ternary function yielding the second passed parameter.
|
class |
ThirdParam<T1,T2,T3>
A ternary function yielding third passed parameter.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> TriFunction<T1,T2,T3,V> |
TriFunction.andThen(Function<? super R,? extends V> after)
Returns a composed function that first applies this function to its input, and then
applies the
after function to the result. |
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryCapturingFunction<T1,T2,T3,R>
Proxies a ternary function capturing parameters and result.
|
class |
TernaryMonitoringFunction<T1,T2,T3,R>
Proxies a ternary function monitoring its calls.
|
| Constructor and Description |
|---|
TernaryCapturingFunction(TriFunction<T1,T2,T3,R> nested,
Box<R> result,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3) |
TernaryMonitoringFunction(TriFunction<T1,T2,T3,R> nested,
AtomicLong calls) |
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryInterceptorAdapter<T1,T2,T3,R>
A ternary interceptor to ternary function adapter.
|
class |
TernaryInterceptorChain<T1,T2,T3,R>
Composes a function with an iterator of interceptors.
|
| Constructor and Description |
|---|
TernaryInterceptorAdapter(TernaryInterceptor<T1,T2,T3> interceptor,
TriFunction<T1,T2,T3,R> inner) |
TernaryInterceptorChain(TriFunction<T1,T2,T3,R> 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 function.
|
Copyright © 2017. All rights reserved.