public class IntegerNameProvider<V> extends 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.
|
String |
getVertexName(V vertex)
Returns the String representation of the unique integer representing a
vertex.
|
public void clear()
public String getVertexName(V vertex)
getVertexName
in interface VertexNameProvider<V>
vertex
- the vertex to be namedGraphListener.edgeAdded(GraphEdgeChangeEvent)
Copyright © 2016. All rights reserved.