public enum GcType extends Enum<GcType>
| Enum Constant and Description |
|---|
OLD
Major collection.
|
UNKNOWN
Could not determine the collection type.
|
YOUNG
Minor collection.
|
| Modifier and Type | Method and Description |
|---|---|
static GcType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcType OLD
public static final GcType YOUNG
public static final GcType UNKNOWN
public static GcType[] values()
for (GcType c : GcType.values()) System.out.println(c);
public static GcType 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