public enum VanillaMappedMode extends Enum<VanillaMappedMode>
Modifier and Type | Method and Description |
---|---|
static VanillaMappedMode |
defaultMode() |
static VanillaMappedMode |
fromValue(FileChannel.MapMode value) |
static VanillaMappedMode |
fromValue(int value) |
static VanillaMappedMode |
fromValue(String value) |
int |
intValue() |
FileChannel.MapMode |
mapValue() |
String |
stringValue() |
static VanillaMappedMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VanillaMappedMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VanillaMappedMode RO
public static final VanillaMappedMode RW
public static VanillaMappedMode[] values()
for (VanillaMappedMode c : VanillaMappedMode.values()) System.out.println(c);
public static VanillaMappedMode 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 static VanillaMappedMode defaultMode()
public static VanillaMappedMode fromValue(int value)
public static VanillaMappedMode fromValue(String value)
public static VanillaMappedMode fromValue(FileChannel.MapMode value)
public int intValue()
public String stringValue()
public FileChannel.MapMode mapValue()
Copyright © 2019. All rights reserved.