V
- the type of the nodes in the graphpublic interface IGraphDataSource<V>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
attachObserver(IGraphObserver<V> go)
Attach a new graph observer.
|
void |
detachObserver(IGraphObserver<V> go)
Detach an existing observer.
|
java.util.Set<V> |
getAllNodes()
Get all nodes of the graph.
|
java.util.List<V> |
getTargetNodes(V source)
Get those nodes that are the target of an edge starting with source.
|
void attachObserver(IGraphObserver<V> go)
go
- the graph observervoid detachObserver(IGraphObserver<V> go)
go
- the graph observerjava.util.Set<V> getAllNodes()