@InterfaceAudience.Private protected static enum WALKey.Version extends Enum<WALKey.Version>
Enum Constant and Description |
---|
COMPRESSED |
INITIAL |
UNVERSIONED |
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
boolean |
atLeast(WALKey.Version other) |
static WALKey.Version |
fromCode(int code) |
static WALKey.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WALKey.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WALKey.Version UNVERSIONED
public static final WALKey.Version INITIAL
public static final WALKey.Version COMPRESSED
public static WALKey.Version[] values()
for (WALKey.Version c : WALKey.Version.values()) System.out.println(c);
public static WALKey.Version 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 boolean atLeast(WALKey.Version other)
public static WALKey.Version fromCode(int code)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.