public enum HashType extends Enum<HashType>
Modifier and Type | Method and Description |
---|---|
static HashType |
fromNative(int nativeId) |
int |
getNativeId() |
static HashType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashType IDENTITY
public static final HashType MURMUR3
public static HashType[] values()
for (HashType c : HashType.values()) System.out.println(c);
public static HashType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getNativeId()
public static HashType fromNative(int nativeId)
Copyright © 2024. All rights reserved.