Enum DominatorQuery.Grouping
- java.lang.Object
-
- java.lang.Enum<DominatorQuery.Grouping>
-
- org.eclipse.mat.internal.snapshot.inspections.DominatorQuery.Grouping
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DominatorQuery.Grouping>
- Enclosing class:
- DominatorQuery
public static enum DominatorQuery.Grouping extends java.lang.Enum<DominatorQuery.Grouping>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BY_CLASS
BY_CLASSLOADER
BY_PACKAGE
NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
getIcon()
java.lang.String
toString()
static DominatorQuery.Grouping
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DominatorQuery.Grouping[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DominatorQuery.Grouping NONE
-
BY_CLASS
public static final DominatorQuery.Grouping BY_CLASS
-
BY_CLASSLOADER
public static final DominatorQuery.Grouping BY_CLASSLOADER
-
BY_PACKAGE
public static final DominatorQuery.Grouping BY_PACKAGE
-
-
Method Detail
-
values
public static DominatorQuery.Grouping[] 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 (DominatorQuery.Grouping c : DominatorQuery.Grouping.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DominatorQuery.Grouping 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 namejava.lang.NullPointerException
- if the argument is null
-
getIcon
public java.net.URL getIcon()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<DominatorQuery.Grouping>
-
-