public class ElementIterator extends FilterIterator
ElementIterator
is a filtering Iterator
which
filters out objects which do not implement the Element
interface.
proxy
Constructor and Description |
---|
ElementIterator(Iterator proxy) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
matches(Object element)
Filter method to perform some matching on the given element.
|
findNext, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ElementIterator(Iterator proxy)
protected boolean matches(Object element)
FilterIterator
matches
in class FilterIterator
Element
interfaceWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses