V - vertex typeE - edge typepublic interface Graph<V extends Vertex,E extends Edge>
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
getEdges()
Returns the set of edges comprising the graph.
|
Set<E> |
getEdgesFrom(V src)
Returns all edges leading out from the specified source vertex.
|
Set<E> |
getEdgesTo(V dst)
Returns all edges leading towards the specified destination vertex.
|
Set<V> |
getVertexes()
Returns the set of vertexes comprising the graph.
|
Set<V> getVertexes()
Set<E> getEdgesFrom(V src)
src - source vertex