public enum NSeekOrigin extends Enum<NSeekOrigin> implements NEnum
| Enum Constant and Description |
|---|
BEGIN
The beginning.
|
CURRENT
The current position.
|
END
The end.
|
| Modifier and Type | Method and Description |
|---|---|
static NSeekOrigin |
get(int value)
Gets the seek origin specified by value.
|
int |
getValue()
Gets the enumeration value of an object.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NSeekOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NSeekOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NSeekOrigin BEGIN
public static final NSeekOrigin CURRENT
public static final NSeekOrigin END
public static NSeekOrigin[] values()
for (NSeekOrigin c : NSeekOrigin.values()) System.out.println(c);
public static NSeekOrigin 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()
NEnumpublic static NSeekOrigin get(int value)
value - Integer value.Copyright © 2016 Neurotechnology. All rights reserved.