|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.util.collections.ReverseIterator<T>
public class ReverseIterator<T>
An iterator that reverses an input iterator. Not very efficient.
| Method Summary | ||
|---|---|---|
boolean |
hasNext()
|
|
T |
next()
|
|
void |
remove()
|
|
static
|
reverse(java.util.Iterator<T> it)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<T>
public T next()
throws java.util.NoSuchElementException
next in interface java.util.Iterator<T>java.util.NoSuchElementException
public void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iterator<T>java.lang.UnsupportedOperationExceptionpublic static <T> java.util.Iterator<T> reverse(java.util.Iterator<T> it)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||