public enum HashType extends Enum<HashType>
修饰符和类型 | 方法和描述 |
---|---|
static HashType |
fromNative(int nativeId) |
int |
getNativeId() |
static HashType |
valueOf(String name)
返回具有指定名称的此类型的枚举常量。
|
static HashType[] |
values()
按照声明的顺序返回包含此枚举类型常量的数组。
|
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
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果此枚举类型没有具有指定名称的常量NullPointerException
- 如果参数为 nullpublic int getNativeId()
public static HashType fromNative(int nativeId)
版权所有 © 2025. 保留所有权利。