| Package | Description |
|---|---|
| net.emaze.dysfunctional | |
| net.emaze.dysfunctional.dispatching.actions | |
| net.emaze.dysfunctional.dispatching.composing | |
| net.emaze.dysfunctional.dispatching.spying |
| Modifier and Type | Method and Description |
|---|---|
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> TriConsumer<T1,T2,T3> |
Dispatching.ignore1st(BiConsumer<T2,T3> consumer,
Class<T1> ignored)
Adapts a binary consumer to a ternary consumer by ignoring the first
parameter.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Dispatching.ignore2nd(BiConsumer<T1,T3> consumer,
Class<T2> ignored)
Adapts a binary consumer to a ternary consumer by ignoring the second
parameter.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Dispatching.ignore3rd(BiConsumer<T1,T2> consumer,
Class<T3> ignored)
Adapts a binary consumer to a ternary consumer by ignoring the third
parameter.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.monitor(TriConsumer<T1,T2,T3> consumer,
AtomicLong calls)
Monitors calls to a ternary consumer.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterable<TriConsumer<T1,T2,T3>> actions)
Creates a pipeline from an iterable of ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterator<TriConsumer<T1,T2,T3>> actions)
Creates a pipeline from an iterator of ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3>... actions)
Creates a pipeline from an array of ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> consumer)
Creates a pipeline from a ternary consumer.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> former,
TriConsumer<T1,T2,T3> latter)
Creates a pipeline from two ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> first,
TriConsumer<T1,T2,T3> second,
TriConsumer<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy(TriConsumer<T1,T2,T3> consumer,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary consumer spying for parameters.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy1st(TriConsumer<T1,T2,T3> consumer,
Box<T1> param1)
Proxies a ternary consumer spying for first parameter.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy2nd(TriConsumer<T1,T2,T3> consumer,
Box<T2> param2)
Proxies a ternary consumer spying for second parameter.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy3rd(TriConsumer<T1,T2,T3> consumer,
Box<T3> param3)
Proxies a ternary consumer spying for third parameter.
|
static <T,U,V> TriConsumer<T,U,V> |
Tuples.Triples.untupled(Consumer<Triple<T,U,V>> consumer)
Adapts an consumer accepting a triple to a ternary consumer.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3> BiConsumer<T2,T3> |
Dispatching.curry(TriConsumer<T1,T2,T3> consumer,
T1 first)
Partial application of the first parameter to a ternary consumer.
|
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> BiConsumer<T1,T3> |
Dispatching.mcurry(TriConsumer<T1,T2,T3> consumer,
T2 second)
Partial application of the second (middle) parameter to a ternary
consumer.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.monitor(TriConsumer<T1,T2,T3> consumer,
AtomicLong calls)
Monitors calls to a ternary consumer.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3>... actions)
Creates a pipeline from an array of ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> consumer)
Creates a pipeline from a ternary consumer.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> former,
TriConsumer<T1,T2,T3> latter)
Creates a pipeline from two ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> former,
TriConsumer<T1,T2,T3> latter)
Creates a pipeline from two ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> first,
TriConsumer<T1,T2,T3> second,
TriConsumer<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> first,
TriConsumer<T1,T2,T3> second,
TriConsumer<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.pipeline(TriConsumer<T1,T2,T3> first,
TriConsumer<T1,T2,T3> second,
TriConsumer<T1,T2,T3> third)
Creates a pipeline from three ternary actions.
|
static <T1,T2,T3> BiConsumer<T1,T2> |
Dispatching.rcurry(TriConsumer<T1,T2,T3> consumer,
T3 third)
Partial application of the last (rightmost) parameter to a ternary
consumer.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy(TriConsumer<T1,T2,T3> consumer,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3)
Proxies a ternary consumer spying for parameters.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy1st(TriConsumer<T1,T2,T3> consumer,
Box<T1> param1)
Proxies a ternary consumer spying for first parameter.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy2nd(TriConsumer<T1,T2,T3> consumer,
Box<T2> param2)
Proxies a ternary consumer spying for second parameter.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Spies.spy3rd(TriConsumer<T1,T2,T3> consumer,
Box<T3> param3)
Proxies a ternary consumer spying for third parameter.
|
static <T,U,V> Consumer<Triple<T,U,V>> |
Tuples.tupled(TriConsumer<T,U,V> consumer)
Adapts a ternary consumer to an consumer accepting a triple.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterable<TriConsumer<T1,T2,T3>> actions)
Creates a pipeline from an iterable of ternary actions.
|
static <T1,T2,T3> TriConsumer<T1,T2,T3> |
Pipelines.Ternary.pipeline(Iterator<TriConsumer<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 |
PipelinedTernaryConsumer<E1,E2,E3>
A composite ternary functor with no return value.
|
| Constructor and Description |
|---|
PipelinedTernaryConsumer(Iterable<TriConsumer<E1,E2,E3>> consumers) |
| Modifier and Type | Class and Description |
|---|---|
class |
TernaryCapturingConsumer<T1,T2,T3>
Proxies a ternary consumer capturing parameters.
|
class |
TernaryMonitoringConsumer<T1,T2,T3>
Proxies a ternary consumer monitoring its calls.
|
| Constructor and Description |
|---|
TernaryCapturingConsumer(TriConsumer<T1,T2,T3> nested,
Box<T1> param1,
Box<T2> param2,
Box<T3> param3) |
TernaryMonitoringConsumer(TriConsumer<T1,T2,T3> nested,
AtomicLong calls) |
Copyright © 2017. All rights reserved.