org.strbio.util
Interface DLinkedList.Node

All Known Implementing Classes:
AtomNode, Monomer, Nucleotide, PCPRes, ProfRes, ProfResPSI, Residue
Enclosing class:
DLinkedList

public static interface DLinkedList.Node

This is the interface you have to implement if you want to put objects in this linked list.


Method Summary
 DLinkedList.Node copyNode()
          This should return a copy of a node, without next and prev set.
 DLinkedList.Node next()
          This should return the next node in the list, or null if there is none.
 DLinkedList.Node prev()
          This should return the previous node in the list, or null if there is none.
 void setNext(DLinkedList.Node x)
          This should set the next node in the list to a given linkable object.
 void setPrev(DLinkedList.Node x)
          This should set the previous node in the list to a given linkable object.
 

Method Detail

next

DLinkedList.Node next()
This should return the next node in the list, or null if there is none.


prev

DLinkedList.Node prev()
This should return the previous node in the list, or null if there is none.


setNext

void setNext(DLinkedList.Node x)
This should set the next node in the list to a given linkable object.


setPrev

void setPrev(DLinkedList.Node x)
This should set the previous node in the list to a given linkable object.


copyNode

DLinkedList.Node copyNode()
This should return a copy of a node, without next and prev set.