View Javadoc

1   package net.sf.collections15;
2   
3   import java.util.List;
4   
5   /***
6    * Interface for any object that decorates multiple <code>Predicate</code>
7    * instances.
8    * <p/>
9    * This interface enables tools to access the decorated
10   * <code>Predicate</code>s.
11   *
12   * @author Chris Lambrou
13   * @since Collections15 1.0
14   */
15  public interface MultplePredicateDecorator <E>
16  {
17      /***
18       * Returns a list of the <code>Predicate</code>s decorated by this
19       * <code>Predicate</code>.
20       *
21       * @return A list of the decorated <code>Predicate</code>s. The returned
22       *         list is unmodifiable.
23       */
24      List<Predicate<? super E>> getDecoratedPredicates();
25  }