| Package | Description |
|---|---|
| net.emaze.dysfunctional | |
| net.emaze.dysfunctional.dispatching.adapting | |
| net.emaze.dysfunctional.dispatching.logic | |
| net.emaze.dysfunctional.dispatching.spying |
| Modifier and Type | Method and Description |
|---|---|
static <T> Proposition |
Dispatching.curry(Predicate<T> predicate,
T value)
Partial application of the parameter to a predicate.
|
static Proposition |
Spies.monitor(Proposition proposition,
AtomicLong calls)
Monitors calls to a proposition.
|
static Proposition |
Dispatching.proposition(Provider<Boolean> provider)
Adapts a provider to a proposition.
|
static Proposition |
Spies.spy(Proposition proposition,
Box<Boolean> result)
Proxies a proposition, spying for result.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
Dispatching.ignore(Proposition proposition,
Class<T> ignored)
Adapts a proposition to a predicate by ignoring the passed parameter.
|
static Proposition |
Spies.monitor(Proposition proposition,
AtomicLong calls)
Monitors calls to a proposition.
|
static Provider<Boolean> |
Dispatching.provider(Proposition adaptee)
Adapts a proposition to a provider.
|
static Proposition |
Spies.spy(Proposition proposition,
Box<Boolean> result)
Proxies a proposition, spying for result.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PredicateBinder<T>
Unary to nullary predicate adapter.
|
class |
ProviderToProposition
Adapts a provider with Boolean result type to a proposition.
|
| Constructor and Description |
|---|
PropositionIgnoreParameter(Proposition adaptee) |
PropositionToProvider(Proposition adaptee) |
| Modifier and Type | Class and Description |
|---|---|
class |
No
You don't.
|
class |
Yes
We can.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CapturingProposition
Proxies a proposition capturing the result.
|
class |
MonitoringProposition
Proxies a proposition monitoring its calls.
|
| Constructor and Description |
|---|
CapturingProposition(Proposition nested,
Box<Boolean> result) |
MonitoringProposition(Proposition nested,
AtomicLong calls) |
Copyright © 2012. All Rights Reserved.