static enum NewObjectSnippets.ProfileMode extends Enum<NewObjectSnippets.ProfileMode>
Enum Constant and Description |
---|
AllocatedTypes |
AllocatedTypesInMethods |
AllocatingMethods |
InstanceOrArray |
Total |
Modifier and Type | Method and Description |
---|---|
static NewObjectSnippets.ProfileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NewObjectSnippets.ProfileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewObjectSnippets.ProfileMode AllocatingMethods
public static final NewObjectSnippets.ProfileMode InstanceOrArray
public static final NewObjectSnippets.ProfileMode AllocatedTypes
public static final NewObjectSnippets.ProfileMode AllocatedTypesInMethods
public static final NewObjectSnippets.ProfileMode Total
public static NewObjectSnippets.ProfileMode[] values()
for (NewObjectSnippets.ProfileMode c : NewObjectSnippets.ProfileMode.values()) System.out.println(c);
public static NewObjectSnippets.ProfileMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null