- asClosure
Creates a Closure that calls a Transformer each time it is called. The
transformer will be called us
- switchClosure
Create a new Closure that calls one of the closures depending on the predicates.
The closure at arr
- chainedClosure
Create a new Closure that calls each closure in turn, passing the result into
the next closure.
- exceptionClosure
Gets a Closure that always throws an exception. This could be useful during
testing as a placeholder
- forClosure
Creates a Closure that will call the closure count times. A null closure or zero
count returns the N
- ifClosure
Create a new Closure that calls one of two closures depending on the specified
predicate.
- invokerClosure
Creates a Closure that will invoke a specific method on the closure's input
object by reflection.
- nopClosure
Gets a Closure that will do nothing. This could be useful during testing as a
placeholder.
- switchMapClosure
Create a new Closure that uses the input object as a key to find the closure to
call. The Map consis
- whileClosure
Creates a Closure that will call the closure repeatedly until the predicate
returns false.