jdsl.core.ref
Class NodeSequence.FNSNode
java.lang.Object
|
+--jdsl.core.ref.HashtableDecorable
|
+--jdsl.core.ref.NodeSequence.FNSNode
- All Implemented Interfaces:
- Accessor, Decorable, Position, java.io.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.
- See Also:
- Serialized Form
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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)
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
- Following copied from interface:
jdsl.core.api.Accessor
- Returns:
- the element currently stored at this accessor
setElement
protected final void setElement(java.lang.Object elt)
- Sets the position's element
- Parameters:
The
- position's new element
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object