|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgrapht.ext.StringNameProvider<V>
public class StringNameProvider<V>
Generates vertex names by invoking Object.toString()
on them. This assumes
that the vertex's Object.toString()
method returns a unique String
representation for each vertex.
Constructor Summary | |
---|---|
StringNameProvider()
|
Method Summary | |
---|---|
java.lang.String |
getVertexName(V vertex)
Returns the String representation of the unique integer representing a vertex. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringNameProvider()
Method Detail |
---|
public java.lang.String getVertexName(V vertex)
getVertexName
in interface VertexNameProvider<V>
vertex
- the vertex to be named
GraphListener.edgeAdded(GraphEdgeChangeEvent)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |