Package: org.codehaus.groovy.macro.matcher.internal

## [Groovy] Interface ConstraintPredicate<T>

-     @CompileStatic
      interface ConstraintPredicate<T>

  Minimal predicate interface used by matching constraints.

  Type Parameters:
    `T` - the tested type
  Since:
    2.5.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `abstract boolean` | `apply(T a)` Tests the supplied value.

- - ### Method Detail

    - #### abstract boolean apply(T a)

      Tests the supplied value.

      Parameters:
        `a` - the value to test
      Returns:
        `true` if the value matches