N - The type of Node stored in this GraphET - The type of Edge stored in this Graphpublic class DirectionalSetMapGraph<N,ET extends DirectionalEdge<N>> extends AbstractSetMapGraph<N,ET> implements DirectionalGraph<N,ET>
| Constructor and Description |
|---|
DirectionalSetMapGraph() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ET> |
getInwardEdgeList(N node)
Returns a List of the Edges for which the given Node is a Sink.
|
java.util.List<ET> |
getOutwardEdgeList(N node)
Returns a List of the Edges for which the given Node is a source.
|
boolean |
hasInwardEdge(N node)
Returns true if the given Node is connected to any edges as a sink Node.
|
boolean |
hasOutwardEdge(N node)
Returns true if the given Node is connected to any edges as a source
Node.
|
addEdge, addGraphChangeListener, addNode, clear, containsEdge, containsNode, equals, getAdjacentEdges, getEdgeList, getGraphChangeListeners, getInternalizedNode, getNodeCount, getNodeList, hashCode, isEmpty, removeEdge, removeGraphChangeListener, removeNodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddEdge, addGraphChangeListener, addNode, clear, containsEdge, containsNode, equals, getAdjacentEdges, getEdgeList, getGraphChangeListeners, getNodeCount, getNodeList, hashCode, isEmpty, removeEdge, removeGraphChangeListener, removeNodepublic java.util.List<ET> getInwardEdgeList(N node)
getInwardEdgeList in interface DirectionalGraph<N,ET extends DirectionalEdge<N>>node - The Node for which to return the inward Edges.DirectionalGraph.getInwardEdgeList(java.lang.Object)public java.util.List<ET> getOutwardEdgeList(N node)
getOutwardEdgeList in interface DirectionalGraph<N,ET extends DirectionalEdge<N>>node - The Node for which to return the outward Edges.DirectionalGraph.getOutwardEdgeList(java.lang.Object)public boolean hasInwardEdge(N node)
hasInwardEdge in interface DirectionalGraph<N,ET extends DirectionalEdge<N>>node - The Node for which to check for inward Edges.DirectionalGraph.hasInwardEdge(java.lang.Object)public boolean hasOutwardEdge(N node)
hasOutwardEdge in interface DirectionalGraph<N,ET extends DirectionalEdge<N>>node - The Node for which to check for outward Edges.DirectionalGraph.hasOutwardEdge(java.lang.Object)