public class AbstractGraph extends AbstractGraphElement
| Constructor and Description |
|---|
AbstractGraph() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
protected <T extends AbstractGraphEdge<?,?>> |
getEdges(AbstractGraphNode source,
AbstractGraphNode target,
java.util.Collection<T> collection)
Returns the edges from source to target, contained in the given
collection
|
void |
graphElementAdded(java.lang.Object element) |
void |
graphElementChanged(java.lang.Object element) |
void |
graphElementRemoved(java.lang.Object element) |
int |
hashCode() |
protected <T extends AbstractGraphEdge<?,?>> |
removeFromEdges(AbstractGraphNode source,
AbstractGraphNode target,
java.util.Collection<T> collection) |
protected <T> T |
removeNodeFromCollection(java.util.Collection<T> collection,
T object) |
getAttributeMap, getLabel, toStringprotected final NodeID id
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected <T> T removeNodeFromCollection(java.util.Collection<T> collection,
T object)
protected <T extends AbstractGraphEdge<?,?>> java.util.Collection<T> getEdges(AbstractGraphNode source, AbstractGraphNode target, java.util.Collection<T> collection)
T - The type of edgessource - the source nodetarget - the target nodecollection - the collection of edges to search throughprotected <T extends AbstractGraphEdge<?,?>> T removeFromEdges(AbstractGraphNode source, AbstractGraphNode target, java.util.Collection<T> collection)
public int hashCode()
hashCode in class java.lang.Objectpublic void graphElementAdded(java.lang.Object element)
public void graphElementRemoved(java.lang.Object element)
public void graphElementChanged(java.lang.Object element)