net.sourceforge.combean.interfaces.graph.containers
Interface NodeMap<Val>

Package class diagram package NodeMap
All Superinterfaces:
Clearable, FixedNodeMap<Val>, Initializable, InitializableWithDefaultValue<Val>
All Known Implementing Classes:
ArrayNodeMap, MapAsNodeMap

public interface NodeMap<Val>
extends FixedNodeMap<Val>, InitializableWithDefaultValue<Val>, Clearable

A mapping of nodes to values.


Method Summary
 Val put(Node v, Val newVal)
          Set the value of a node
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.FixedNodeMap
get
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.InitializableWithDefaultValue
init
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.Initializable
init
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.Clearable
clear
 

Method Detail

put

Val put(Node v,
        Val newVal)
Set the value of a node

Parameters:
v - the node for which the value shall be set
newVal - the new value of the node
Returns:
the old value of the node (null if no value has been set)