Package com.google.caliper.bridge
Enum GcLogMessage.Type
- java.lang.Object
-
- java.lang.Enum<GcLogMessage.Type>
-
- com.google.caliper.bridge.GcLogMessage.Type
-
- All Implemented Interfaces:
Serializable,Comparable<GcLogMessage.Type>
- Enclosing class:
- GcLogMessage
public static enum GcLogMessage.Type extends Enum<GcLogMessage.Type>
The type of the garbage collection performed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULLINCREMENTAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GcLogMessage.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static GcLogMessage.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final GcLogMessage.Type FULL
-
INCREMENTAL
public static final GcLogMessage.Type INCREMENTAL
-
-
Method Detail
-
values
public static GcLogMessage.Type[] 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 (GcLogMessage.Type c : GcLogMessage.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GcLogMessage.Type 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
-
-