1 package com.atlassian.core.util.filter;
2
3 /**
4 * Defines what objects should be filtered out of a list.
5 *
6 * @deprecated use Guava's {@code Predicate} instead
7 */
8 @Deprecated
9 public interface Filter<T>
10 {
11 /**
12 * Should an object be allowed through the filter?
13 *
14 * @return true if the object can pass through the filter, false
15 * if the object is rejected by the filter.
16 */
17 boolean isIncluded(T o);
18 }