|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectlinkedLists.DNode
public class DNode
Node of a doubly linked list of strings
| Constructor Summary | |
|---|---|
DNode(java.lang.String e,
DNode p,
DNode n)
Constructor that creates a node with given fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getElement()
Returns the element of this node |
DNode |
getNext()
Returns the next node of this node |
DNode |
getPrev()
Returns the previous node of this node |
void |
setElement(java.lang.String newElem)
Sets the element of this node |
void |
setNext(DNode newNext)
Sets the next node of this node |
void |
setPrev(DNode newPrev)
Sets the previous node of this node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DNode(java.lang.String e,
DNode p,
DNode n)
| Method Detail |
|---|
public java.lang.String getElement()
public DNode getPrev()
public DNode getNext()
public void setElement(java.lang.String newElem)
public void setPrev(DNode newPrev)
public void setNext(DNode newNext)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||