jdsl.core.ref
Class NodeSequence.FNSNode
java.lang.Object
jdsl.core.ref.HashtableDecorable
jdsl.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.
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)
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()