Constructor
new NodeCache( parent : NodeCache )
Constructs a new node cache.
parent |
A reference to a parent cache. |
Properties
.id : number (readonly)
The id of the cache.
Methods
.getData( node : Node ) : Object
Returns the data for the given node.
node |
The node. |
- Returns: The data for the node.
.setData( node : Node, data : Object )
Sets the data for a given node.
node |
The node. |
data |
The data that should be cached. |