java.lang.Object
net.i2p.router.util.CachedIteratorCollection.Node<E>
- Type Parameters:
E- the type of the element held in the node
- Enclosing class:
CachedIteratorCollection<E>
Node object that contains: (1) Data object (2) Link to previous Node object (3) Link to next Node object.
Field Summary
FieldsModifier and TypeFieldDescription(package private) EThe element held by the node.(package private) CachedIteratorCollection.Node<E> The next node in the list.(package private) CachedIteratorCollection.Node<E> The previous node in the list.Constructor Summary
ConstructorsConstructorDescriptionNode(CachedIteratorCollection.Node<E> prev, E element) Links one node after another.Method Summary
Field Details
item
E itemThe element held by the node.next
The next node in the list.prev
The previous node in the list.
Constructor Details
Node
Node(CachedIteratorCollection.Node<E> prev, E element) Links one node after another.- Parameters:
prev- the previous nodeelement- the element to hold