|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.LinkedListElement
This class implements the structure of an element of a linked list. This implies that it wraps the data into a class having a reference to the next element of the list.
Field Summary | |
---|---|
protected long |
data
|
protected LinkedListElement |
next
|
Constructor Summary | |
---|---|
LinkedListElement()
LinkedListElement default constructor. |
|
LinkedListElement(long o)
Constructor for LinkedListElement. |
Method Summary | |
---|---|
long |
getData()
Returns the data. |
LinkedListElement |
getNext()
Returns the next. |
void |
setNext(LinkedListElement next)
Sets the next. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long data
protected LinkedListElement next
Constructor Detail |
public LinkedListElement()
public LinkedListElement(long o)
o
- longMethod Detail |
public long getData()
public LinkedListElement getNext()
public void setNext(LinkedListElement next)
next
- - The next to set
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |