org.eclipse.mat.ui.snapshot.panes
Enum CompareTablesPane.DiffOption

java.lang.Object
  extended by java.lang.Enum<CompareTablesPane.DiffOption>
      extended by org.eclipse.mat.ui.snapshot.panes.CompareTablesPane.DiffOption
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CompareTablesPane.DiffOption>
Enclosing class:
CompareTablesPane

public static enum CompareTablesPane.DiffOption
extends java.lang.Enum<CompareTablesPane.DiffOption>


Enum Constant Summary
ABSOLUTE
           
DIFF_RATIO_TO_BASE
           
DIFF_RATIO_TO_PREV
           
DIFF_TO_BASE
           
DIFF_TO_PREV
           
 
Method Summary
 java.lang.String toString()
           
static CompareTablesPane.DiffOption valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CompareTablesPane.DiffOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABSOLUTE

public static final CompareTablesPane.DiffOption ABSOLUTE

DIFF_TO_BASE

public static final CompareTablesPane.DiffOption DIFF_TO_BASE

DIFF_RATIO_TO_BASE

public static final CompareTablesPane.DiffOption DIFF_RATIO_TO_BASE

DIFF_TO_PREV

public static final CompareTablesPane.DiffOption DIFF_TO_PREV

DIFF_RATIO_TO_PREV

public static final CompareTablesPane.DiffOption DIFF_RATIO_TO_PREV
Method Detail

values

public static CompareTablesPane.DiffOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CompareTablesPane.DiffOption c : CompareTablesPane.DiffOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CompareTablesPane.DiffOption valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<CompareTablesPane.DiffOption>