public enum KeySharedMode extends Enum<KeySharedMode>
| Enum Constant and Description |
|---|
AUTO_SPLIT |
STICKY |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_SPLIT_VALUE |
static int |
STICKY_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static KeySharedMode |
valueOf(int n) |
static KeySharedMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeySharedMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeySharedMode AUTO_SPLIT
public static final KeySharedMode STICKY
public static final int AUTO_SPLIT_VALUE
public static final int STICKY_VALUE
public static KeySharedMode[] values()
for (KeySharedMode c : KeySharedMode.values()) System.out.println(c);
public static KeySharedMode 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 getValue()
public static KeySharedMode valueOf(int n)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.