Deprecated
THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!
FilterIterator is an abstract base class which is useful for
implementors of Iteratorwhich filter an existing iterator.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private T | |
| protected Iterator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected T | |
| public boolean | |
| protected abstract boolean | Returns: true if the given element matches the filter and should be appear in the iterationDOCUMENT ME! element)Filter method to perform some matching on the given element. |
| public T | |
| public void | remove()
Overrides default java. |
| first | back to summary |
|---|---|
| private boolean first | |
| next | back to summary |
|---|---|
| private T next | |
| proxy | back to summary |
|---|---|
| protected Iterator<T> proxy | |
| FilterIterator | back to summary |
|---|---|
| public FilterIterator(Iterator<T> proxy) | |
| findNext | back to summary |
|---|---|
| protected T findNext() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| matches | back to summary |
|---|---|
| protected abstract boolean matches(T element) Filter method to perform some matching on the given element.
| |
| next | back to summary |
|---|---|
| public T next() throws NoSuchElementException Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Always throws UnsupportedOperationException as this class does look-ahead with its internal iterator.
| |