BooleanClosurePredicate (Groovy 5.1.0)

Package: org.codehaus.groovy.runtime.callsite

## [Java] Class BooleanClosurePredicate<T>

- org.codehaus.groovy.runtime.callsite.BooleanClosurePredicate

- All Implemented Interfaces and Traits:
    Predicate

      public class BooleanClosurePredicate<T>
      extends Object
      implements Predicate

  Helper class for internal use only. This creates a Predicate by calling a Closure and converting the result to a boolean. BooleanReturningMethodInvoker is used for caching.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `BooleanClosurePredicate(Closure wrapped)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `test(T arg)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public BooleanClosurePredicate(Closure wrapped)

  - ### Method Detail

    - #### @Override
      public boolean test(T arg)