public class IntegerNameProvider<V> extends java.lang.Object implements VertexNameProvider<V>
Constructor and Description |
---|
IntegerNameProvider() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all cached identifiers, and resets the unique identifier counter.
|
java.lang.String |
getVertexName(V vertex)
Returns the String representation of the unique integer representing a
vertex.
|
public void clear()
public java.lang.String getVertexName(V vertex)
getVertexName
in interface VertexNameProvider<V>
vertex
- the vertex to be namedGraphListener.edgeAdded(GraphEdgeChangeEvent)