|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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 |
|---|
V get(java.lang.Object node)
node -
V put(K key,
V value)
key - void clear()
DFSVisit.SimpleMap
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||