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