com.ibm.wala.util.graph.traverse
Interface DFSVisit.SimpleMap<K,V>

All Known Implementing Classes:
DFSVisit.DefaultSimpleMap, DFSVisit.NumberedSimpleMap
Enclosing class:
DFSVisit

public static interface DFSVisit.SimpleMap<K,V>

A simple map interface. It is used during DFS to associate a node in a graph to its its traversal state.


Method Summary
 void clear()
          clear this DFSVisit.SimpleMap
 V get(java.lang.Object node)
          returns the state associated with a given node
 V put(K key, V value)
          sets the state associated with a given node, and returns the previous associated states
 

Method Detail

get

V get(java.lang.Object node)
returns the state associated with a given node

Parameters:
node -

put

V put(K key,
      V value)
sets the state associated with a given node, and returns the previous associated states

Parameters:
key -

clear

void clear()
clear this DFSVisit.SimpleMap