Package io.netty.microbench.search
Enum SearchBenchmark.Input
- java.lang.Object
-
- java.lang.Enum<SearchBenchmark.Input>
-
- io.netty.microbench.search.SearchBenchmark.Input
-
- All Implemented Interfaces:
Serializable,Comparable<SearchBenchmark.Input>
- Enclosing class:
- SearchBenchmark
public static enum SearchBenchmark.Input extends Enum<SearchBenchmark.Input>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PREDICTABLERANDOM_256BRANDOM_2KBUNPREDICTABLEWORST_CASE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchBenchmark.InputvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchBenchmark.Input[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RANDOM_256B
public static final SearchBenchmark.Input RANDOM_256B
-
RANDOM_2KB
public static final SearchBenchmark.Input RANDOM_2KB
-
PREDICTABLE
public static final SearchBenchmark.Input PREDICTABLE
-
UNPREDICTABLE
public static final SearchBenchmark.Input UNPREDICTABLE
-
WORST_CASE
public static final SearchBenchmark.Input WORST_CASE
-
-
Method Detail
-
values
public static SearchBenchmark.Input[] 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 (SearchBenchmark.Input c : SearchBenchmark.Input.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchBenchmark.Input 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
-
-