T - the type to filter@NotThreadSafe public abstract class Filter<T> extends Object
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<T> |
filter(Iterable<T> iterable)
Filters a given iterable.
|
Iterator<T> |
filter(Iterator<T> iterator)
Filters a given iterator.
|
abstract boolean |
passes(T object)
Determines whether the object passes the filter.
|
public abstract boolean passes(T object)
object - the object to testpublic Iterator<T> filter(Iterator<T> iterator)
iterator - the iterator to filterCopyright © 2012–2020 OWASP. All rights reserved.