Package com.carrotsearch.hppc
Enum HashOrderMixing.Strategy
- java.lang.Object
-
- java.lang.Enum<HashOrderMixing.Strategy>
-
- com.carrotsearch.hppc.HashOrderMixing.Strategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HashOrderMixing.Strategy>
,java.util.concurrent.Callable<HashOrderMixingStrategy>
- Enclosing class:
- HashOrderMixing
public static enum HashOrderMixing.Strategy extends java.lang.Enum<HashOrderMixing.Strategy> implements java.util.concurrent.Callable<HashOrderMixingStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DETERMINISTIC
NONE
RANDOM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HashOrderMixing.Strategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HashOrderMixing.Strategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RANDOM
public static final HashOrderMixing.Strategy RANDOM
-
DETERMINISTIC
public static final HashOrderMixing.Strategy DETERMINISTIC
-
NONE
public static final HashOrderMixing.Strategy NONE
-
-
Method Detail
-
values
public static HashOrderMixing.Strategy[] 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 (HashOrderMixing.Strategy c : HashOrderMixing.Strategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HashOrderMixing.Strategy 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
-
-