public static enum K2hash.OPEN_MODE extends Enum<K2hash.OPEN_MODE>
| Enum Constant and Description |
|---|
DEFAULT
Read and write access to a k2hash file.
|
MEM
Read and write access to memory.
|
RDONLY
Read only access to a k2hash file.
|
RDWR
Read and write access to a k2hash file.
|
TMPFILE
Read and write access to a temporary file.
|
| Modifier and Type | Method and Description |
|---|---|
static K2hash.OPEN_MODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static K2hash.OPEN_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final K2hash.OPEN_MODE DEFAULT
public static final K2hash.OPEN_MODE RDWR
public static final K2hash.OPEN_MODE RDONLY
public static final K2hash.OPEN_MODE TMPFILE
public static final K2hash.OPEN_MODE MEM
public static K2hash.OPEN_MODE[] values()
for (K2hash.OPEN_MODE c : K2hash.OPEN_MODE.values()) System.out.println(c);
public static K2hash.OPEN_MODE 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 © 2021. All rights reserved.