Package com.google.code.yanf4j.util
Class LinkedTransferQueue.Itr
java.lang.Object
com.google.code.yanf4j.util.LinkedTransferQueue.Itr
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
LinkedTransferQueue<E>
Iterators. Basic strategy is to traverse list, treating non-data (i.e., request) nodes as
terminating list. Once a valid data node is found, the item is cached so that the next call to
next() will return it even if subsequently removed.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) LinkedTransferQueue.QNode
(package private) E
(package private) LinkedTransferQueue.QNode
(package private) LinkedTransferQueue.QNode
-
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
nextNode
LinkedTransferQueue.QNode nextNode -
currentNode
LinkedTransferQueue.QNode currentNode -
prevNode
LinkedTransferQueue.QNode prevNode -
nextItem
E nextItem
-
-
Constructor Details
-
Itr
Itr()
-
-
Method Details