jdsl.core.ref
Class NodeSequence.FNSNode

java.lang.Object
  extended byjdsl.core.ref.HashtableDecorable
      extended byjdsl.core.ref.NodeSequence.FNSNode
All Implemented Interfaces:
Accessor, Decorable, Position, Serializable
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.


Constructor Summary
NodeSequence.FNSNode(Object elt)
          Default constructor for the Node.
 
Method Summary
 Object element()
          Gets the element currently associated with this accessor.
protected  void setElement(Object elt)
          Sets the position's element
 String toString()
           
 
Methods inherited from class 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 jdsl.core.api.Decorable
attributes, destroy, get, has, set
 

Constructor Detail

NodeSequence.FNSNode

public NodeSequence.FNSNode(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 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(Object elt)
Sets the position's element

Parameters:
elt - The position's new element

toString

public String toString()