net.sf.beanlib.util.concurrent
Class LinkedBlockingDeque.DescendingItr

java.lang.Object
  extended by net.sf.beanlib.util.concurrent.LinkedBlockingDeque.AbstractItr
      extended by net.sf.beanlib.util.concurrent.LinkedBlockingDeque.DescendingItr
All Implemented Interfaces:
Iterator<E>
Enclosing class:
LinkedBlockingDeque<E>

private class LinkedBlockingDeque.DescendingItr
extends LinkedBlockingDeque.AbstractItr

Descending iterator for LinkedBlockingDeque


Field Summary
 
Fields inherited from class net.sf.beanlib.util.concurrent.LinkedBlockingDeque.AbstractItr
next, nextItem
 
Constructor Summary
private LinkedBlockingDeque.DescendingItr()
           
 
Method Summary
(package private)  void advance()
          Advances next, or if not yet initialized, sets to first node.
 
Methods inherited from class net.sf.beanlib.util.concurrent.LinkedBlockingDeque.AbstractItr
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedBlockingDeque.DescendingItr

private LinkedBlockingDeque.DescendingItr()
Method Detail

advance

void advance()
Description copied from class: LinkedBlockingDeque.AbstractItr
Advances next, or if not yet initialized, sets to first node. Implemented to move forward vs backward in the two subclasses.

Specified by:
advance in class LinkedBlockingDeque.AbstractItr