View Javadoc

1   package net.sf.collections15;
2   
3   /***
4    * Interface for any object that decorates a <code>Predicate</code> instance.
5    * <p/>
6    * This interface enables tools to access the decorated <code>Predicate</code>.
7    *
8    * @author Chris Lambrou
9    * @since Collections15 1.0
10   */
11  public interface PredicateDecorator <E>
12  {
13      /***
14       * Returns the <code>Predicate</code> decorated by this
15       * <code>Predicate</code>.
16       *
17       * @return The decorated <code>Predicate</code>.
18       */
19      Predicate<? super E> getDecoratedPredicate();
20  }