nz.ac.waikato.jdsl.core.ref
Class NodeSequence.FNSNode
java.lang.Object
nz.ac.waikato.jdsl.core.ref.HashtableDecorable
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
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
- 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.