T
- The Generic type of content returned by this Filterpublic abstract class AbstractFilter<T> extends java.lang.Object implements Filter<T>
Filter
.构造器和说明 |
---|
AbstractFilter() |
限定符和类型 | 方法和说明 |
---|---|
Filter<T> |
and(Filter<?> filter)
Creates an ANDing filter.
|
java.util.List<T> |
filter(java.util.List<?> content)
Filter the input list keeping only the items that match the Filter.
|
boolean |
matches(java.lang.Object content)
Check to see if the object matches a predefined set of rules.
|
Filter<?> |
negate()
Creates an 'inverse' filter
|
Filter<? extends Content> |
or(Filter<?> filter)
Creates an ORing filter
|
<R> Filter<R> |
refine(Filter<R> filter)
This is similar to the and(Filter) method except the generic type is
different.
|
public final boolean matches(java.lang.Object content)
Filter
public java.util.List<T> filter(java.util.List<?> content)
Filter
public final Filter<? extends Content> or(Filter<?> filter)
Filter
public final Filter<T> and(Filter<?> filter)
Filter
public <R> Filter<R> refine(Filter<R> filter)
Filter
refine
在接口中 Filter<T>
R
- The Generic type of the returned data is taken from the input
instance.filter
- The filter to refine our results with.