jcommon.graph
Class StringGraph
java.lang.Object
jcommon.graph.DirectedAcyclicGraph<IVertex<TValue>,TValue,TProcessedValue>
jcommon.graph.ObjectGraph<String,String>
jcommon.graph.StringGraph
- All Implemented Interfaces:
- Cloneable, IGraph<IVertex<String>,String,String>
public class StringGraph
- extends ObjectGraph<String,String>
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 value)
- Overrides:
addVertex in class ObjectGraph<String,String>
- See Also:
DirectedAcyclicGraph.addVertex(IVertex)
removeVertex
public StringGraph removeVertex(String value)
- Overrides:
removeVertex in class ObjectGraph<String,String>
- See Also:
DirectedAcyclicGraph.removeVertex(IVertex)
addEdge
public StringGraph addEdge(String from,
String to)
- Overrides:
addEdge in class ObjectGraph<String,String>
- See Also:
DirectedAcyclicGraph.addEdge(IVertex, IVertex)
removeEdge
public StringGraph removeEdge(String from,
String to)
- Overrides:
removeEdge in class ObjectGraph<String,String>
- See Also:
DirectedAcyclicGraph.removeEdge(IVertex, IVertex)
Copyright © 2012-2013. All Rights Reserved.