nz.ac.waikato.jdsl.core.ref
Class NodeSequence.FNSNode

java.lang.Object
  extended by nz.ac.waikato.jdsl.core.ref.HashtableDecorable
      extended by nz.ac.waikato.jdsl.core.ref.NodeSequence.FNSNode
All Implemented Interfaces:
java.io.Serializable, Accessor, Decorable, Position
Enclosing class:
NodeSequence

public static class NodeSequence.FNSNode
extends HashtableDecorable
implements Position

This nested class is the node for NodeSequence. It is Decorable, and a position. It is public per request of mdh, who hacked with it in the low-overhead implementation of Graph.

See Also:
Serialized Form

Constructor Summary
NodeSequence.FNSNode(java.lang.Object elt)
          Default constructor for the Node.
 
Method Summary
 java.lang.Object element()
          Gets the element currently associated with this accessor.
protected  void setElement(java.lang.Object elt)
          Sets the position's element
 java.lang.String toString()
           
 
Methods inherited from class nz.ac.waikato.jdsl.core.ref.HashtableDecorable
attributes, capacity, destroy, get, has, hash, rehash, set, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface nz.ac.waikato.jdsl.core.api.Decorable
attributes, destroy, get, has, set
 

Constructor Detail

NodeSequence.FNSNode

public NodeSequence.FNSNode(java.lang.Object elt)
Default constructor for the Node.

Parameters:
elt - The node's element. (null if the element is really null)
Method Detail

element

public final java.lang.Object element()
Description copied from interface: Accessor
Gets the element currently associated with this accessor.

Specified by:
element in interface Accessor
Returns:
the element currently stored at this accessor

setElement

protected final void setElement(java.lang.Object elt)
Sets the position's element

Parameters:
elt - The position's new element

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 ModelJUnit Project. All Rights Reserved.