Uses of Class
org.javimmutable.collections.Computation
Packages that use Computation
-
Uses of Computation in org.javimmutable.collections
Methods in org.javimmutable.collections that return ComputationModifier and TypeMethodDescriptionabstract Computation<T> Computation.apply(Proc1Throws<T, ? super Exception> proc) Add a step to the computation that executes the procedure on the current value without changing that value.static <T> Computation<T> Produce aComputationthat simply throws an exception.abstract <U> Computation<U> Computation.flatMap(Func1Throws<T, Computation<U>, ? super Exception> func) Add a step to the computation that applies the function to the current value to produce a new computation.abstract <U> Computation<U> Computation.map(Func1Throws<T, U, ? super Exception> func) Add a step to the computation that applies the function to the current value to produce a new value.static <T> Computation<T> Computation.of(Func0Throws<T, ? super Exception> func) Produce aComputationthat evaluations the function and returns its result.static <T> Computation<T> Computation.success(T value) Produce aComputationthat simply returns the value.Method parameters in org.javimmutable.collections with type arguments of type ComputationModifier and TypeMethodDescriptionabstract <U> Computation<U> Computation.flatMap(Func1Throws<T, Computation<U>, ? super Exception> func) Add a step to the computation that applies the function to the current value to produce a new computation.