|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectlinkedLists.DIntNode
public class DIntNode
Node of a doubly linked list of Integers
Constructor Summary | |
---|---|
DIntNode(int e,
DIntNode p,
DIntNode n)
Constructor that creates a node with given fields |
Method Summary | |
---|---|
int |
getElement()
Returns the element of this node |
DIntNode |
getNext()
Returns the next node of this node |
DIntNode |
getPrev()
Returns the previous node of this node |
void |
setElement(java.lang.Integer newElem)
Sets the element of this node |
void |
setNext(DIntNode newNext)
Sets the next node of this node |
void |
setPrev(DIntNode 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 DIntNode(int e, DIntNode p, DIntNode n)
Method Detail |
---|
public int getElement()
public DIntNode getPrev()
public DIntNode getNext()
public void setElement(java.lang.Integer newElem)
public void setPrev(DIntNode newPrev)
public void setNext(DIntNode newNext)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |