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<? extends T> i, Predicate<? super T> f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()@Nullable Tnext()voidremove()StringtoString()-
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 @Nullable T next() throws NoSuchElementException
- Specified by:
nextin interfaceIterator<T>- Throws:
NoSuchElementException
-
remove
public void remove() throws UnsupportedOperationException- Specified by:
removein interfaceIterator<T>- Throws:
UnsupportedOperationException
-
-