Class DNode_Generic<E>
java.lang.Object
DNode_Generic<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EData element stored in this node.protected DNode_Generic<E> Reference to the next node.protected DNode_Generic<E> Reference to the previous node. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDNode_Generic(E element) Constructs a new node containing the specified data item. -
Method Summary
-
Field Details
-
element
Data element stored in this node. -
next
Reference to the next node. -
prev
Reference to the previous node.
-
-
Constructor Details
-
DNode_Generic
Constructs a new node containing the specified data item.- Parameters:
element- element stored in this node
-