public static enum LinuxFile.MMAPFlags extends Enum<LinuxFile.MMAPFlags>
Enum Constant and Description |
---|
PRIVATE |
SHARED |
SHARED_PRIVATE |
Modifier and Type | Field and Description |
---|---|
int |
flag |
Modifier and Type | Method and Description |
---|---|
static LinuxFile.MMAPFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinuxFile.MMAPFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinuxFile.MMAPFlags SHARED
public static final LinuxFile.MMAPFlags PRIVATE
public static final LinuxFile.MMAPFlags SHARED_PRIVATE
public final int flag
public static LinuxFile.MMAPFlags[] values()
for (LinuxFile.MMAPFlags c : LinuxFile.MMAPFlags.values()) System.out.println(c);
public static LinuxFile.MMAPFlags 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 © 2012–2021 Pi4J. All rights reserved.