Package org.apache.sysds.utils
Enum Hash.HashType
- java.lang.Object
-
- java.lang.Enum<Hash.HashType>
-
- org.apache.sysds.utils.Hash.HashType
-
- All Implemented Interfaces:
Serializable
,Comparable<Hash.HashType>
- Enclosing class:
- Hash
public static enum Hash.HashType extends Enum<Hash.HashType>
Available Hashing techniques
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ExpHash
LinearHash
StandardJava
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Hash.HashType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Hash.HashType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
StandardJava
public static final Hash.HashType StandardJava
-
LinearHash
public static final Hash.HashType LinearHash
-
ExpHash
public static final Hash.HashType ExpHash
-
-
Method Detail
-
values
public static Hash.HashType[] 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 (Hash.HashType c : Hash.HashType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Hash.HashType 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
-
-