Uses of Interface
ratpack.func.Function.ConditionalSpec
-
Packages that use Function.ConditionalSpec Package Description ratpack.func -
-
Uses of Function.ConditionalSpec in ratpack.func
Methods in ratpack.func that return Function.ConditionalSpec Modifier and Type Method Description Function.ConditionalSpec<I,O>
Function.ConditionalSpec. when(Predicate<? super I> predicate, Function<? super I,? extends O> function)
Adds a conditional function.Method parameters in ratpack.func with type arguments of type Function.ConditionalSpec Modifier and Type Method Description static <I,O>
Function<I,O>Function. conditional(Action<? super Function.ConditionalSpec<I,O>> conditions)
Creates a function that delegates based on the specified conditions.static <I,O>
Function<I,O>Function. conditional(Function<? super I,? extends O> onElse, Action<? super Function.ConditionalSpec<I,O>> conditions)
Creates a function that delegates based on the specified conditions.
-