public static enum KeyRange.Endpoint extends Enum<KeyRange.Endpoint>
Enum Constant and Description |
---|
CLOSED
Ranges include the endpoint key.
|
OPEN
Ranges exclude the endpoint key.
|
Modifier and Type | Method and Description |
---|---|
static KeyRange.Endpoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyRange.Endpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyRange.Endpoint CLOSED
public static final KeyRange.Endpoint OPEN
public static KeyRange.Endpoint[] values()
for (KeyRange.Endpoint c : KeyRange.Endpoint.values()) System.out.println(c);
public static KeyRange.Endpoint 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 © 2018 Google. All rights reserved.