Enum Class IWeightedTreeProvider.DataType

java.lang.Object
java.lang.Enum<IWeightedTreeProvider.DataType>
org.eclipse.tracecompass.incubator.analysis.core.weighted.tree.IWeightedTreeProvider.DataType
All Implemented Interfaces:
Serializable, Comparable<IWeightedTreeProvider.DataType>, Constable
Enclosing interface:
IWeightedTreeProvider<N,E,T extends WeightedTree<N>>

public static enum IWeightedTreeProvider.DataType extends Enum<IWeightedTreeProvider.DataType>
The type of data that a value represents. Mostly for numeric value, as the data type will help decide how to format the data to be displayed to the user
  • Enum Constant Details

  • Method Details

    • values

      public static IWeightedTreeProvider.DataType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IWeightedTreeProvider.DataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • format

      public String format(Object object)
      Formats an object according to the specified formatter
      Parameters:
      object - The object to format
      Returns:
      The formatted string