public enum PosixFadvise extends Enum<PosixFadvise> implements Constant
Enum Constant and Description |
---|
__UNKNOWN_CONSTANT__ |
POSIX_FADV_DONTNEED |
POSIX_FADV_NOREUSE |
POSIX_FADV_NORMAL |
POSIX_FADV_RANDOM |
POSIX_FADV_SEQUENTIAL |
POSIX_FADV_WILLNEED |
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
String |
description() |
int |
intValue() |
long |
longValue() |
String |
toString() |
static PosixFadvise |
valueOf(long value) |
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 PosixFadvise __UNKNOWN_CONSTANT__
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 nullpublic final String description()
public final String toString()
toString
in class Enum<PosixFadvise>
public static PosixFadvise valueOf(long value)
Copyright © 2017. All Rights Reserved.