Package com.ibm.wala.util.collections
Class ReverseIterator<T>
- java.lang.Object
-
- com.ibm.wala.util.collections.ReverseIterator<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
void
remove()
static <T> Iterator<T>
reverse(Iterator<T> it)
-
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
-
-
-
-
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
-
-