public enum AccessHint extends java.lang.Enum<AccessHint>
Enum Constant and Description |
---|
NONE |
NORMAL |
SEQUENTIAL |
WILLNEED |
Modifier and Type | Method and Description |
---|---|
static AccessHint |
getAccessHint(byte byteIdentifier)
Get the AccessHint enumeration value by
passing the byte identifier to this method.
|
byte |
getValue()
Returns the byte value of the enumerations value.
|
static AccessHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessHint NONE
public static final AccessHint NORMAL
public static final AccessHint SEQUENTIAL
public static final AccessHint WILLNEED
public static AccessHint[] values()
for (AccessHint c : AccessHint.values()) System.out.println(c);
public static AccessHint valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte getValue()
Returns the byte value of the enumerations value.
public static AccessHint getAccessHint(byte byteIdentifier)
Get the AccessHint enumeration value by passing the byte identifier to this method.
byteIdentifier
- of AccessHint.java.lang.IllegalArgumentException
- if the access hint for the byteIdentifier
cannot be found