public enum MMapProt extends Enum<MMapProt>
| Enum Constant and Description |
|---|
PROT_EXEC |
PROT_EXEC_READ |
PROT_NONE |
PROT_READ |
PROT_READ_WRITE |
PROT_WRITE |
| Modifier and Type | Method and Description |
|---|---|
int |
value()
This method is a getter for the value instance variable.
|
static MMapProt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MMapProt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MMapProt PROT_READ
public static final MMapProt PROT_WRITE
public static final MMapProt PROT_READ_WRITE
public static final MMapProt PROT_EXEC
public static final MMapProt PROT_EXEC_READ
public static final MMapProt PROT_NONE
public static MMapProt[] values()
for (MMapProt c : MMapProt.values()) System.out.println(c);
public static MMapProt 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 int value()
Copyright © 2024. All rights reserved.