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