public enum NFileAccess extends Enum<NFileAccess> implements NEnum
| Enum Constant and Description |
|---|
READ
Read-only.
|
READ_WRITE
Read and write.
|
WRITE
Write-only.
|
| Modifier and Type | Method and Description |
|---|---|
static NFileAccess |
get(int value)
Gets NFileAccess specified by value.
|
int |
getValue()
Gets the value of the current object.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NFileAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NFileAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NFileAccess READ
public static final NFileAccess WRITE
public static final NFileAccess READ_WRITE
public static NFileAccess[] values()
for (NFileAccess c : NFileAccess.values()) System.out.println(c);
public static NFileAccess 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 NType nativeTypeOf()
public int getValue()
public static NFileAccess get(int value)
value - Integer value.Copyright © 2016 Neurotechnology. All rights reserved.