| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Edge | |
| private static final int | |
| private ArrayList | |
| pack-priv int | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Edge | |
| public void | |
| public Collection | |
| public Collection | |
| public Iterable | |
| public Vertex | Returns: vertex for given data. If vertex is not present it creates vertex and returns it.to find a vertex for data)Find existing vertex and if it is not present create it. |
| public Vertex | |
| protected Edge | |
| public Collection | |
| protected Edge | |
| public void | |
| public void | |
| public void | |
| public int | |
| public String | |
| public Collection |
| edgeLength | back to summary |
|---|---|
| private int edgeLength | |
| edges | back to summary |
|---|---|
| private Edge<T, U>[] edges | |
| INITIAL_SIZE | back to summary |
|---|---|
| private static final int INITIAL_SIZE | |
| inOrderVerticeData | back to summary |
|---|---|
| private ArrayList<E> inOrderVerticeData | |
| vertexIDCounter | back to summary |
|---|---|
| pack-priv int vertexIDCounter | |
| vertices | back to summary |
|---|---|
| private final Map<T, Vertex<T, U>> vertices | |
| DirectedGraph | back to summary |
|---|---|
| public DirectedGraph() | |
| addEdge | back to summary |
|---|---|
| protected Edge | |
| addEdge | back to summary |
|---|---|
| public void addEdge(T source, T destination, U type) | |
| allData | back to summary |
|---|---|
| public Collection | |
| edges | back to summary |
|---|---|
| public Collection | |
| edgesOfType | back to summary |
|---|---|
| public Iterable | |
| findOrCreateVertexFor | back to summary |
|---|---|
| public Vertex Find existing vertex and if it is not present create it.
| |
| findVertexFor | back to summary |
|---|---|
| public Vertex | |
| getEdges | back to summary |
|---|---|
| protected Edge | |
| getInorderData | back to summary |
|---|---|
public Collection
| |
| growEdges | back to summary |
|---|---|
| protected Edge | |
| removeEdge | back to summary |
|---|---|
| public void removeEdge(Edge<T, U> edge) | |
| removeEdge | back to summary |
|---|---|
| public void removeEdge(T source, T destination) | |
| removeVertexFor | back to summary |
|---|---|
| public void removeVertexFor(T data) | |
| size | back to summary |
|---|---|
public int size()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| vertices | back to summary |
|---|---|
| public Collection | |