Package | Description |
---|---|
ratpack.func |
General functional (i.e. Single Abstract Method) types.
|
Modifier and Type | Method and Description |
---|---|
Action.ConditionalSpec<I> |
Action.ConditionalSpec.when(Predicate<? super I> predicate,
Action<? super I> action) |
Modifier and Type | Method and Description |
---|---|
static <I> Action<I> |
Action.conditional(Action<? super Action.ConditionalSpec<I>> conditions)
Creates an action that delegates based on the specified conditions.
|
static <I> Action<I> |
Action.conditional(Action<? super I> onElse,
Action<? super Action.ConditionalSpec<I>> conditions)
Creates an action that delegates based on the specified conditions.
|