Documentation of 'edu.uci.ics.jung.visualization.decorators.ToStringLabeller' Java class
ToStringLabeller
edu.uci.ics.jung.visualization.decorators

Class ToStringLabeller

  • All Implemented Interfaces:
    com.google.common.base.Function<java.lang.Object,java.lang.String>


    public class ToStringLabeller
    extends java.lang.Object
    implements com.google.common.base.Function<java.lang.Object,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.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ToStringLabeller() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String apply(java.lang.Object o) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.common.base.Function

        equals
    • Constructor Detail

      • ToStringLabeller

        public ToStringLabeller()
    • Method Detail

      • apply

        public java.lang.String apply(java.lang.Object o)
        Specified by:
        apply in interface com.google.common.base.Function<java.lang.Object,java.lang.String>
        Returns:
        o.toString()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.