plugins.big.bigsnake.snake
Enum ESnakePriorShapeType
java.lang.Object
java.lang.Enum<ESnakePriorShapeType>
plugins.big.bigsnake.snake.ESnakePriorShapeType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ESnakePriorShapeType>
public enum ESnakePriorShapeType
- extends java.lang.Enum<ESnakePriorShapeType>
Enumeration with the default prior shapes.
- Version:
- May 3, 2014
- Author:
- Ricard Delgado-Gonzalo (ricard.delgado@gmail.com)
Method Summary |
static ESnakePriorShapeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ESnakePriorShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NONE
public static final ESnakePriorShapeType NONE
ROD
public static final ESnakePriorShapeType ROD
BUDDINGYEAST
public static final ESnakePriorShapeType BUDDINGYEAST
BANANA
public static final ESnakePriorShapeType BANANA
BOOMERANG
public static final ESnakePriorShapeType BOOMERANG
BRAINWHITE
public static final ESnakePriorShapeType BRAINWHITE
CIRCLE
public static final ESnakePriorShapeType CIRCLE
CORPUSCALLOSUM
public static final ESnakePriorShapeType CORPUSCALLOSUM
CROSS
public static final ESnakePriorShapeType CROSS
ELECTRICGUITAR
public static final ESnakePriorShapeType ELECTRICGUITAR
FEMUR
public static final ESnakePriorShapeType FEMUR
FLY
public static final ESnakePriorShapeType FLY
MOUSEORGAN
public static final ESnakePriorShapeType MOUSEORGAN
SEMICIRCLE
public static final ESnakePriorShapeType SEMICIRCLE
SQUARE
public static final ESnakePriorShapeType SQUARE
UPPERLIP
public static final ESnakePriorShapeType UPPERLIP
CUSTOM
public static final ESnakePriorShapeType CUSTOM
values
public static ESnakePriorShapeType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ESnakePriorShapeType c : ESnakePriorShapeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ESnakePriorShapeType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null