|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.util.queue.QueueReader<E>
public class QueueReader<E>
A queue of Object's. One can add objects to the queue, and they are later read by a QueueReader. One can create arbitrary numbers of QueueReader's for a queue, and each one receives all the Object's that are added. Only objects that have not been read by all the QueueReader's are kept. A QueueReader only receives the Object's added to the queue after the QueueReader was created.
Method Summary | |
---|---|
QueueReader<E> |
clone()
|
boolean |
hasNext()
Returns true iff there is currently another object in the queue. |
E |
next()
Returns (and removes) the next object in the queue, or null if there are none. |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final E next()
next
in interface Iterator<E>
public final boolean hasNext()
hasNext
in interface Iterator<E>
public final void remove()
remove
in interface Iterator<E>
public final QueueReader<E> clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |