public static enum HeapVerifier.Occasion extends Enum<HeapVerifier.Occasion>
Enum Constant and Description |
---|
AFTER_COLLECTION |
BEFORE_COLLECTION |
DURING_COLLECTION |
Modifier and Type | Method and Description |
---|---|
static HeapVerifier.Occasion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeapVerifier.Occasion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeapVerifier.Occasion BEFORE_COLLECTION
public static final HeapVerifier.Occasion DURING_COLLECTION
public static final HeapVerifier.Occasion AFTER_COLLECTION
public static HeapVerifier.Occasion[] values()
public static HeapVerifier.Occasion 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