T - The type of the items to filter.public interface Filter<T>
| Modifier and Type | Field and Description |
|---|---|
static Filter<Object> |
ACCEPT_ANY
A filter which accepts any item.
|
static Filter<Object> |
ACCEPT_NONE
A filter which accepts no items.
|
boolean accept(T item)
true if and only if this filter accepts the given
item.item - the item to test.item.Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.