- org.codehaus.groovy.runtime.BooleanClosurePredicate
-
- All Implemented Interfaces and Traits:
- Predicate
public class BooleanClosurePredicate<T>
extends Object
implements Predicate
Adapts a Closure to a Predicate, converting the closure's
return value to a boolean using Groovy truth semantics.
- Since:
- 6.0.0
-
-
Methods Summary
Methods
| Type Params |
Return Type |
Name and description |
|
public boolean |
test(T arg)
|
-
Inherited Methods Summary
-
-
Constructor Detail
-
public BooleanClosurePredicate(Closure wrapped)
-
Method Detail
-
public boolean test(T arg)
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.