E
- the graph edge typepublic class StringEdgeNameProvider<E> extends Object implements EdgeNameProvider<E>
Object.toString()
on them. This assumes that the edge's
Object.toString()
method returns a unique String representation for each edge.Constructor and Description |
---|
StringEdgeNameProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getEdgeName(E edge)
Returns the String representation an edge.
|
public String getEdgeName(E edge)
getEdgeName
in interface EdgeNameProvider<E>
edge
- the edge to be namedCopyright © 2016. All rights reserved.