public enum MappingAccess extends java.lang.Enum<MappingAccess>
Enum Constant and Description |
---|
MAP_READ_ONLY
Only read access is allowed to the mapped memory.
|
MAP_READ_WRITE
Both read and write access is allowed.
|
MAP_WRITE_INVALIDATE
The old memory content is completely discarded and the buffer is filled
completely with new data.
|
MAP_WRITE_ONLY
Only write access is allowed to the mapped memory.
|
Modifier and Type | Method and Description |
---|---|
static MappingAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MappingAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingAccess MAP_READ_ONLY
public static final MappingAccess MAP_WRITE_ONLY
public static final MappingAccess MAP_READ_WRITE
public static final MappingAccess MAP_WRITE_INVALIDATE
MAP_WRITE_ONLY
public static MappingAccess[] values()
for (MappingAccess c : MappingAccess.values()) System.out.println(c);
public static MappingAccess 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 null