Enum CompareTablesPane.DiffOption
- java.lang.Object
-
- java.lang.Enum<CompareTablesPane.DiffOption>
-
- org.eclipse.mat.ui.snapshot.panes.CompareTablesPane.DiffOption
-
- All Implemented Interfaces:
Serializable
,Comparable<CompareTablesPane.DiffOption>
- Enclosing class:
- CompareTablesPane
public static enum CompareTablesPane.DiffOption extends Enum<CompareTablesPane.DiffOption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTE
DIFF_RATIO_TO_BASE
DIFF_RATIO_TO_PREV
DIFF_TO_BASE
DIFF_TO_PREV
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static CompareTablesPane.DiffOption
valueOf(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.
-
-
-
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(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<CompareTablesPane.DiffOption>
-
-