Package | Description |
---|---|
ratpack.exec |
The execution management.
|
ratpack.func |
General functional (i.e. Single Abstract Method) types.
|
Modifier and Type | Method and Description |
---|---|
Promise<T> |
Promise.route(Predicate<? super T> predicate,
Action<? super T> action)
Allows the promised value to be handled specially if it meets the given predicate, instead of being handled by the promise subscriber.
|
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
Predicate.from(Predicate<T> predicate)
Creates a predicate from a JDK predicate.
|
static <T> Predicate<T> |
Predicate.fromGuava(Predicate<T> predicate)
Creates a predicate from a Guava predicate.
|