| java.lang.Object org.netbeans.modules.languages.parser.DG
DG | public class DG (Code) | | Directed Graph implementation.
author: Jan Jancura |
Method Summary | |
void | addEdge(N startNode, N endNode, E edge) | void | addEnd(N end) | void | addNode(N node) | void | changeKey(N oldNode, N newNode) | boolean | containsNode(N node) | static DG<N, E, K, V> | createDG(N node) | static DG<N, E, K, V> | createDG() | E | getEdge(N node, E edge) | Set<E> | getEdges(N node) | Set<N> | getEnds() | N | getNode(N node, E edge) | Set<N> | getNodes() | Map<K, V> | getProperties(N node) | Map<K, V> | getProperties(N node, E edge) | V | getProperty(N node, K key) | V | getProperty(N node, E edge, K key) | N | getStartNode() | void | putAllProperties(N node, Map<K, V> properties) | void | putAllProperties(N node, E edge, Map<K, V> properties) | void | removeEnd(N end) | void | removeNode(N node) | void | setEnds(Set<N> ends) | void | setProperty(N node, K key, V value) | void | setProperty(N node, E edge, K key, V value) | void | setStart(N node) | public String | toString() |
addEdge | void addEdge(N startNode, N endNode, E edge)(Code) | | |
addEnd | void addEnd(N end)(Code) | | |
addNode | void addNode(N node)(Code) | | |
changeKey | void changeKey(N oldNode, N newNode)(Code) | | |
containsNode | boolean containsNode(N node)(Code) | | |
createDG | static DG<N, E, K, V> createDG(N node)(Code) | | |
createDG | static DG<N, E, K, V> createDG()(Code) | | |
getEdge | E getEdge(N node, E edge)(Code) | | |
getNode | N getNode(N node, E edge)(Code) | | |
getProperties | Map<K, V> getProperties(N node)(Code) | | |
getProperties | Map<K, V> getProperties(N node, E edge)(Code) | | |
getProperty | V getProperty(N node, K key)(Code) | | |
getProperty | V getProperty(N node, E edge, K key)(Code) | | |
getStartNode | N getStartNode()(Code) | | |
putAllProperties | void putAllProperties(N node, Map<K, V> properties)(Code) | | |
putAllProperties | void putAllProperties(N node, E edge, Map<K, V> properties)(Code) | | |
removeEnd | void removeEnd(N end)(Code) | | |
removeNode | void removeNode(N node)(Code) | | |
setProperty | void setProperty(N node, K key, V value)(Code) | | |
setProperty | void setProperty(N node, E edge, K key, V value)(Code) | | |
setStart | void setStart(N node)(Code) | | |
|
|