Package org.revapi.query
Class FilteringIterator<E>
- java.lang.Object
-
- org.revapi.query.FilteringIterator<E>
-
- All Implemented Interfaces:
Iterator<E>
@Deprecated public class FilteringIterator<E> extends Object implements Iterator<E>
Deprecated.Filtering turned out to be more complex than this.Filter
has been superseded byTreeFilter
.A decorator over theIterator
impls that can leave out the elements of incompatible types that optionally don't conform to provided filter.This implementation does NOT support null elements returned by the decorated iterator.
- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.E
next()
Deprecated.void
remove()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-