public static enum MathArrays.Position extends Enum<MathArrays.Position>
Enum Constant and Description |
---|
HEAD
Designates the beginning of the array (near index 0).
|
TAIL
Designates the end of the array.
|
Modifier and Type | Method and Description |
---|---|
static MathArrays.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MathArrays.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MathArrays.Position HEAD
public static final MathArrays.Position TAIL
public static MathArrays.Position[] values()
for (MathArrays.Position c : MathArrays.Position.values()) System.out.println(c);
public static MathArrays.Position 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 © 2003–2016 The Apache Software Foundation. All rights reserved.