Class LinkedBlockingDeque.Itr
java.lang.Object
LinkedBlockingDeque<E>.org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl.LinkedBlockingDeque.AbstractItr
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl.LinkedBlockingDeque.Itr
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
LinkedBlockingDeque<E>
Forward iterator
- Since:
- 2.0
-
Field Summary
Fields inherited from class 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 LinkedBlockingDeque.AbstractItr
advance, hasNext, next, removeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-