public enum PosixFadvise extends Enum<PosixFadvise> implements Constant
Enum Constant and Description |
---|
POSIX_FADV_DONTNEED |
POSIX_FADV_NOREUSE |
POSIX_FADV_NORMAL |
POSIX_FADV_RANDOM |
POSIX_FADV_SEQUENTIAL |
POSIX_FADV_WILLNEED |
Modifier and Type | Field and Description |
---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
static PosixFadvise |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PosixFadvise[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PosixFadvise POSIX_FADV_NORMAL
public static final PosixFadvise POSIX_FADV_SEQUENTIAL
public static final PosixFadvise POSIX_FADV_RANDOM
public static final PosixFadvise POSIX_FADV_NOREUSE
public static final PosixFadvise POSIX_FADV_WILLNEED
public static final PosixFadvise POSIX_FADV_DONTNEED
public static final long MIN_VALUE
public static final long MAX_VALUE
public static PosixFadvise[] values()
for (PosixFadvise c : PosixFadvise.values()) System.out.println(c);
public static PosixFadvise 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 © 2017. All Rights Reserved.