jcommon.graph
Class StringGraph
java.lang.Object
jcommon.graph.DirectedAcyclicGraph<StringVertex>
jcommon.graph.StringGraph
- All Implemented Interfaces:
- Cloneable, IGraph<StringVertex>
public class StringGraph
- extends DirectedAcyclicGraph<StringVertex>
Factory and implementation of a dependency graph that can topologically sort vertices that are Strings.
- See Also:
DirectedAcyclicGraph
| Methods inherited from class jcommon.graph.DirectedAcyclicGraph |
addEdge, addVertex, build, copy, create, getEdges, getVertices, removeEdge, removeVertex, sort, sort, sortAsync, sortAsync, sortAsync, sortAsync, sortAsync, sortAsync, sortAsync, sortAsync, validate |
copyAsStringGraph
public StringGraph copyAsStringGraph()
- See Also:
DirectedAcyclicGraph.copy()
buildFromStrings
public static StringGraph buildFromStrings(String... vertices)
- See Also:
DirectedAcyclicGraph.build(IVertex[])
createForStrings
public static StringGraph createForStrings()
- See Also:
DirectedAcyclicGraph.create()
addVertex
public StringGraph addVertex(String vertex)
- See Also:
DirectedAcyclicGraph.addVertex(IVertex)
removeVertex
public StringGraph removeVertex(String vertex)
- See Also:
DirectedAcyclicGraph.removeVertex(IVertex)
addEdge
public StringGraph addEdge(String from,
String to)
- See Also:
DirectedAcyclicGraph.addEdge(IVertex, IVertex)
removeEdge
public StringGraph removeEdge(String from,
String to)
- See Also:
DirectedAcyclicGraph.removeEdge(IVertex, IVertex)
Copyright © 2012-2013. All Rights Reserved.