Package org.apache.commons.pool2.impl
Class LinkedBlockingDeque.Itr
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
- LinkedBlockingDeque<E>
Forward iterator
-
Field Summary
Fields inherited from class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
next, nextItem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) LinkedBlockingDeque.Node<E>Obtain the first node to be returned by the iterator.(package private) LinkedBlockingDeque.Node<E>For a given node, obtain the next node to be returned by the iterator.Methods inherited from class org.apache.commons.pool2.impl.LinkedBlockingDeque.AbstractItr
advance, hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
Itr
private Itr()
-
-
Method Details
-
firstNode
LinkedBlockingDeque.Node<E> firstNode()Description copied from class:LinkedBlockingDeque.AbstractItrObtain the first node to be returned by the iterator.- Specified by:
firstNodein classLinkedBlockingDeque<E>.AbstractItr- Returns:
- first node
-
nextNode
Description copied from class:LinkedBlockingDeque.AbstractItrFor a given node, obtain the next node to be returned by the iterator.- Specified by:
nextNodein classLinkedBlockingDeque<E>.AbstractItr- Parameters:
n- given node- Returns:
- next node
-