Package org.codehaus.groovy.runtime
Class BooleanClosurePredicate<T>
java.lang.Object
org.codehaus.groovy.runtime.BooleanClosurePredicate<T>
- All Implemented Interfaces:
Predicate<T>
Adapts a
Closure to a Predicate, converting the closure's
return value to a boolean using Groovy truth semantics.- Since:
- 6.0.0