|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
org.ceryle.graph.tm.TM4JVisualizerImpl.DeferredNodeSet
protected class TM4JVisualizerImpl.DeferredNodeSet
Internal class extends Hashtable as a container for deferred addition of GraphNodes to the graph.
| Constructor Summary | |
|---|---|
TM4JVisualizerImpl.DeferredNodeSet()
|
|
TM4JVisualizerImpl.DeferredNodeSet(int initialCapacity)
|
|
| Method Summary | |
|---|---|
boolean |
addNode(GraphNode node)
Adds the GraphNode to the DeferredNodeSet, returning true if added. |
GraphNode |
findNode(Association assoc)
Returns the ANode containing Association assoc, null if not found. |
GraphNode |
findNode(String id)
Returns the GraphNode whose ID is id, null if not found. |
GraphNode |
findNode(Topic topic)
Returns the TNode containing Topic topic, null if not found. |
Collection |
getNodes()
Returns a Collection of the contained GraphNodes. |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TM4JVisualizerImpl.DeferredNodeSet()
public TM4JVisualizerImpl.DeferredNodeSet(int initialCapacity)
| Method Detail |
|---|
public boolean addNode(GraphNode node)
public GraphNode findNode(String id)
public GraphNode findNode(Topic topic)
public GraphNode findNode(Association assoc)
public Collection getNodes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||