Class DNode_Generic<E>

java.lang.Object
DNode_Generic<E>

public class DNode_Generic<E> extends Object
A generic doubly linked node.
Author:
Kevin Lillis
  • Field Details

    • element

      protected E element
      Data element stored in this node.
    • next

      protected DNode_Generic<E> next
      Reference to the next node.
    • prev

      protected DNode_Generic<E> prev
      Reference to the previous node.
  • Constructor Details

    • DNode_Generic

      protected DNode_Generic(E element)
      Constructs a new node containing the specified data item.
      Parameters:
      element - element stored in this node