|
IBM WebSphere Multichannel Bank 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.LinkedList
public class LinkedList
This class implements a linked list structure of LinkedListElement objects. This kind of structure provides a one step access to the first and the last element of the list.
Field Summary | |
---|---|
protected LinkedListElement |
head
|
protected LinkedListElement |
tail
|
Constructor Summary | |
---|---|
LinkedList()
LinkedList default constructor. |
Method Summary | |
---|---|
void |
append(long o)
Appends a new element at the end of the linked list. |
void |
deleteHead()
Removes the first element of the list. |
LinkedListElement |
getHead()
Returns the first element of the linked list. |
long |
getHeadData()
Returns the data contained in the first element of the linked list. |
LinkedListElement |
getTail()
Returns the last element of the linked list. |
long |
getTailData()
Returns the data contained in the last element of the linked list. |
java.lang.String |
toString()
String representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected LinkedListElement head
protected LinkedListElement tail
Constructor Detail |
---|
public LinkedList()
Method Detail |
---|
public void append(long o)
o
- long - The object to appendpublic void deleteHead()
public LinkedListElement getHead()
public long getHeadData()
public long getTailData()
public LinkedListElement getTail()
public java.lang.String toString()
toString
in class java.lang.Object
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |