Class Closures

java.lang.Object
org.apache.groovy.util.Closures

public class Closures extends Object
Helpers that return hybrid one-argument functions which are both Closure and the appropriate java.util.function SAM (Predicate, Function or Consumer).

For variants whose results are only the SAM type, see Lambdas.

Since:
6.0.0