| Package | Description |
|---|---|
| net.emaze.dysfunctional | |
| net.emaze.dysfunctional.tuples |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
static <T,U,V> Predicate<Triple<T,U,V>> |
Tuples.tupled(TernaryPredicate<T,U,V> predicate)
Adapts a ternary predicate to a predicate accepting a triple.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
static <T,U,V> TernaryPredicate<T,U,V> |
Tuples.Triples.untupled(Predicate<Triple<T,U,V>> predicate)
Adapts a predicate accepting a triple to a ternary predicate.
|
| Modifier and Type | Method and Description |
|---|---|
<R1,R2,R3> Triple<R1,R2,R3> |
Triple.fmap(Delegate<R1,T1> withFirst,
Delegate<R2,T2> withSecond,
Delegate<R3,T3> withThird) |
static <T1,T2,T3> Triple<T1,T2,T3> |
Triple.of(T1 first,
T2 second,
T3 third) |
Triple<T1,T2,T3> |
TernaryIdentity.perform(T1 first,
T2 second,
T3 third) |
Triple<T3,T1,T2> |
TripleRotateRight.perform(Triple<T1,T2,T3> triple) |
Triple<R1,R2,R3> |
FmapTriple.perform(Triple<T1,T2,T3> from) |
Triple<T3,T2,T1> |
FlipTriple.perform(Triple<T1,T2,T3> triple) |
Triple<T2,T3,T1> |
TripleRotateLeft.perform(Triple<T1,T2,T3> triple) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TernaryToUnaryPredicate.accept(Triple<T1,T2,T3> triple) |
Triple<T3,T1,T2> |
TripleRotateRight.perform(Triple<T1,T2,T3> triple) |
R |
TernaryToUnaryDelegate.perform(Triple<T1,T2,T3> triple) |
Triple<R1,R2,R3> |
FmapTriple.perform(Triple<T1,T2,T3> from) |
T3 |
TripleThird.perform(Triple<T1,T2,T3> triple) |
Triple<T3,T2,T1> |
FlipTriple.perform(Triple<T1,T2,T3> triple) |
Triple<T2,T3,T1> |
TripleRotateLeft.perform(Triple<T1,T2,T3> triple) |
T1 |
TripleFirst.perform(Triple<T1,T2,T3> triple) |
T2 |
TripleSecond.perform(Triple<T1,T2,T3> triple) |
void |
TernaryToUnaryAction.perform(Triple<T1,T2,T3> triple) |
| Constructor and Description |
|---|
UnaryToTernaryAction(Action<Triple<T1,T2,T3>> action) |
UnaryToTernaryDelegate(Delegate<R,Triple<T1,T2,T3>> delegate) |
UnaryToTernaryPredicate(Predicate<Triple<T1,T2,T3>> predicate) |
Copyright © 2016. All rights reserved.