IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class LinkedListElement

java.lang.Object
  extended by com.ibm.btt.base.LinkedListElement

public class LinkedListElement
extends java.lang.Object

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

data

protected long data

next

protected LinkedListElement next
Constructor Detail

LinkedListElement

public LinkedListElement()
LinkedListElement default constructor.


LinkedListElement

public LinkedListElement(long o)
Constructor for LinkedListElement.

Parameters:
o - long
Method Detail

getData

public long getData()
Returns the data.

Returns:
Object

getNext

public LinkedListElement getNext()
Returns the next.

Returns:
LinkedListElement

setNext

public void setNext(LinkedListElement next)
Sets the next.

Parameters:
next - - The next to set

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009