org.apache.commons.collections4.functors

## Interface PredicateDecorator<T>

- All Superinterfaces:
    Predicate<T>
  All Known Implementing Classes:
    AbstractQuantifierPredicate, AllPredicate, AndPredicate, AnyPredicate, NonePredicate, NotPredicate, NullIsExceptionPredicate, NullIsFalsePredicate, NullIsTruePredicate, OnePredicate, OrPredicate, TransformedPredicate

      public interface PredicateDecorator<T>
      extends Predicate<T>

  Defines a predicate that decorates one or more other predicates.

  This interface enables tools to access the decorated predicates.

  Since:
    3.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Predicate<? super T>[]` | `getPredicates()` Gets the predicates being decorated as an array.

    - ### Methods inherited from interface org.apache.commons.collections4.Predicate

      `evaluate`

- - ### Method Detail

    - #### getPredicates

          Predicate<? super T>[] getPredicates()

      Gets the predicates being decorated as an array.

      The array may be the internal data structure of the predicate and thus should not be altered.

      Returns:
        the predicates being decorated

Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.