Package org.openjdk.jmh.validation
Enum Main.Test
- java.lang.Object
-
- java.lang.Enum<Main.Test>
-
- org.openjdk.jmh.validation.Main.Test
-
-
Enum Constant Summary
Enum Constants Enum Constant Description blackhole_consec
blackhole_cpu
blackhole_pipelined
blackhole_single
compiler_hints
helpers
stability
thermal
thread_scale
timing
-
Constructor Summary
Constructors Modifier Constructor Description private
Test()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Main.Test
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Main.Test[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
timing
public static final Main.Test timing
-
compiler_hints
public static final Main.Test compiler_hints
-
thermal
public static final Main.Test thermal
-
stability
public static final Main.Test stability
-
thread_scale
public static final Main.Test thread_scale
-
helpers
public static final Main.Test helpers
-
blackhole_cpu
public static final Main.Test blackhole_cpu
-
blackhole_single
public static final Main.Test blackhole_single
-
blackhole_pipelined
public static final Main.Test blackhole_pipelined
-
blackhole_consec
public static final Main.Test blackhole_consec
-
-
Method Detail
-
values
public static Main.Test[] 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 (Main.Test c : Main.Test.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Main.Test 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
-
-