Class LinkedBlockingDeque.Itr
- java.lang.Object
-
- org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl.LinkedBlockingDeque.AbstractItr
-
- org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl.LinkedBlockingDeque.Itr
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Enclosing class:
- LinkedBlockingDeque<E>
private class LinkedBlockingDeque.Itr extends LinkedBlockingDeque.AbstractItr
Forward iterator
-
-
Field Summary
-
Fields inherited from class org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl.LinkedBlockingDeque.AbstractItr
next, nextItem
-
-
Constructor Summary
Constructors Modifier Constructor Description privateItr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) LinkedBlockingDeque.Node<E>firstNode()Obtain the first node to be returned by the iterator.(package private) LinkedBlockingDeque.Node<E>nextNode(LinkedBlockingDeque.Node<E> n)For a given node, obtain the next node to be returned by the iterator.-
Methods inherited from class org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl.LinkedBlockingDeque.AbstractItr
advance, hasNext, next, remove
-
-
-
-
Method Detail
-
firstNode
LinkedBlockingDeque.Node<E> firstNode()
Description copied from class:LinkedBlockingDeque.AbstractItrObtain the first node to be returned by the iterator.- Specified by:
firstNodein classLinkedBlockingDeque.AbstractItr- Returns:
- first node
-
nextNode
LinkedBlockingDeque.Node<E> nextNode(LinkedBlockingDeque.Node<E> n)
Description copied from class:LinkedBlockingDeque.AbstractItrFor a given node, obtain the next node to be returned by the iterator.- Specified by:
nextNodein classLinkedBlockingDeque.AbstractItr- Parameters:
n- given node- Returns:
- next node
-
-