| Constructor and Description | 
|---|
AdjacencyListsGraph(Set<V> vertexes,
                   Set<E> edges)
Creates a graph comprising of the specified vertexes and edges. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
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. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
public Set<V> getVertexes()
Graphpublic Set<E> getEdges()
Graphpublic Set<E> getEdgesFrom(V src)
Graphpublic Set<E> getEdgesTo(V dst)
Graph