public abstract class AbstractUndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>> extends AbstractGraph implements UndirectedGraph<N,E>
id| Constructor and Description |
|---|
AbstractUndirectedGraph() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAddEdge(N source,
N target) |
protected abstract void |
cloneFrom(UndirectedGraph<N,E> graph) |
int |
compareTo(UndirectedGraph<N,E> o) |
java.util.Collection<E> |
getEdges(UndirectedGraphNode node) |
protected abstract AbstractUndirectedGraph<N,E> |
getEmptyClone() |
AbstractUndirectedGraph<?,?> |
getGraph() |
abstract void |
removeEdge(UndirectedGraphEdge edge) |
equals, getEdges, graphElementAdded, graphElementChanged, graphElementRemoved, hashCode, removeFromEdges, removeNodeFromCollectiongetAttributeMap, getLabel, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetEdges, getNodesequals, getLabel, hashCodegetAttributeMappublic AbstractUndirectedGraph<?,?> getGraph()
getGraph in interface UndirectedGraphElementprotected abstract AbstractUndirectedGraph<N,E> getEmptyClone()
protected abstract void cloneFrom(UndirectedGraph<N,E> graph)
public abstract void removeEdge(UndirectedGraphEdge edge)
removeEdge in interface UndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>>public java.util.Collection<E> getEdges(UndirectedGraphNode node)
getEdges in interface UndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>>public int compareTo(UndirectedGraph<N,E> o)
compareTo in interface java.lang.Comparable<UndirectedGraph<N extends UndirectedGraphNode,E extends UndirectedGraphEdge<? extends N>>>