public static enum Distribution.Type extends Enum<Distribution.Type>
| Enum Constant and Description |
|---|
HASH |
RANGE |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static Distribution.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Distribution.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Distribution.Type HASH
public static final Distribution.Type RANGE
public static final Distribution.Type UNSPECIFIED
public static Distribution.Type[] values()
for (Distribution.Type c : Distribution.Type.values()) System.out.println(c);
public static Distribution.Type 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 nullCopyright © 2024 Alibaba Cloud Computing. All rights reserved.