Package ratpack.func
General functional (i.e. Single Abstract Method) types.
-
Interface Summary Interface Description Action<T> A generic type for an object that does some work with a thing.Action.ConditionalSpec<I> A spec for adding conditions to a conditional action.BiAction<T,U> A generic type for an object that does some work with 2 input things.BiFunction<I1,I2,O> Block A block of code.Factory<T> An object that creates another.Function<I,O> A single argument function.Function.ConditionalSpec<I,O> A spec for adding conditions to a conditional function.Predicate<T> A function that returnstrue
orfalse
for a value. -
Class Summary Class Description Pair<L,R> A generic pair implementation that can be used to cumulatively aggregate a data structure during a promise pipeline.