Class ToStringLabeller<V>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.ToStringLabeller<V>
-
- All Implemented Interfaces:
org.apache.commons.collections4.Transformer<V,java.lang.String>
public class ToStringLabeller<V> extends java.lang.Object implements org.apache.commons.collections4.Transformer<V,java.lang.String>
Labels vertices by their toString. This class functions as a drop-in replacement for the default StringLabeller method. This class does not guarantee unique labels; or even consistent ones; as a result, getVertexByLabel will always return NULL.
-
-
Constructor Summary
Constructors Constructor Description ToStringLabeller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
transform(V v)
Retunrs v.toString()
-