Package com.ibm.wala.util.collections
Class FilterIterator<T>
- java.lang.Object
-
- com.ibm.wala.util.collections.FilterIterator<T>
-
-
Constructor Summary
Constructors Constructor Description FilterIterator(Iterator<?> i, Predicate f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
void
remove()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
next
public T next() throws NoSuchElementException
- Specified by:
next
in interfaceIterator<T>
- Throws:
NoSuchElementException
-
remove
public void remove() throws UnsupportedOperationException
- Specified by:
remove
in interfaceIterator<T>
- Throws:
UnsupportedOperationException
-
-