ProGAL.dataStructures
Class DLCyclicList.DLNode<T>

java.lang.Object
  extended by ProGAL.dataStructures.DLCyclicList.DLNode<T>
Enclosing class:
DLCyclicList<T>

public static class DLCyclicList.DLNode<T>
extends java.lang.Object


Constructor Summary
DLCyclicList.DLNode(T obj)
           
DLCyclicList.DLNode(T obj, DLCyclicList.DLNode<T> prev, DLCyclicList.DLNode<T> next)
           
 
Method Summary
 T clear()
          Clears the node and returns its object
 DLCyclicList.DLNode<T> getNext()
          Return next node of the doubly linked list
 T getObject()
          Returns the object represented by the node
 DLCyclicList.DLNode<T> getPrev()
          Returns previous node of the doubly linked list
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLCyclicList.DLNode

public DLCyclicList.DLNode(T obj)

DLCyclicList.DLNode

public DLCyclicList.DLNode(T obj,
                           DLCyclicList.DLNode<T> prev,
                           DLCyclicList.DLNode<T> next)
Method Detail

getObject

public T getObject()
Returns the object represented by the node


getPrev

public DLCyclicList.DLNode<T> getPrev()
Returns previous node of the doubly linked list


getNext

public DLCyclicList.DLNode<T> getNext()
Return next node of the doubly linked list


clear

public T clear()
Clears the node and returns its object