Tea Java Runtime API
Version 3.1.0

com.pdmfc.tea.util
Class SListNode

java.lang.Object
  |
  +--com.pdmfc.tea.util.SListNode

public class SListNode
extends java.lang.Object

Objects of the classe are used as the nodes in the list represented by SList objects. It is a public class because classes derived from SList may want to access the node directly for performance reasons.


Field Summary
 java.lang.Object _element
          The object this node stores.
 SListNode _next
          A reference to the next node on the list this node belongs to.
 
Constructor Summary
SListNode(java.lang.Object obj)
          Initializes the object internal state.
SListNode(java.lang.Object obj, SListNode next)
          Initializes the object internal state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_element

public java.lang.Object _element
The object this node stores.

_next

public SListNode _next
A reference to the next node on the list this node belongs to.
Constructor Detail

SListNode

public SListNode(java.lang.Object obj)
Initializes the object internal state.
Parameters:
obj - The object this node will store.

SListNode

public SListNode(java.lang.Object obj,
                 SListNode next)
Initializes the object internal state.
Parameters:
obj - The object this node will store.
next - The next node this node will point to.

Tea Java Runtime API
Version 3.1.0

© 2002 PDM&FC, All Rights Reserved.