Class LinkedTransferQueue.Itr

java.lang.Object
com.google.code.yanf4j.util.LinkedTransferQueue.Itr
All Implemented Interfaces:
Iterator<E>
Enclosing class:
LinkedTransferQueue<E>

class LinkedTransferQueue.Itr extends Object implements Iterator<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.