|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FinchActionType>
FinchActionType
public enum FinchActionType
Enumerated data type that represents the different concrete FinchAction classes. Provides facilities for each of the enumerated types to describe themselves
Enum Constant Summary | |
---|---|
FINCH_BUZZ
|
|
FINCH_MOVE
|
|
FINCH_MOVE_GUARDED
|
|
FINCH_NOSE
|
|
FINCH_OBSTACLE_GUARDED
|
|
FINCH_ORIENTATION_GUARDED
|
Field Summary | |
---|---|
private java.lang.String |
description
String description of the enumerated value. |
Method Summary | |
---|---|
static FinchActionType[] |
getActionList()
Return the set of FinchAction types |
java.lang.String |
toString()
Return a string that describes the enumerated value. |
static FinchActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FinchActionType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FinchActionType FINCH_MOVE
public static final FinchActionType FINCH_MOVE_GUARDED
public static final FinchActionType FINCH_BUZZ
public static final FinchActionType FINCH_NOSE
public static final FinchActionType FINCH_ORIENTATION_GUARDED
public static final FinchActionType FINCH_OBSTACLE_GUARDED
Field Detail |
---|
private java.lang.String description
Method Detail |
---|
public static FinchActionType[] values()
for (FinchActionType c : FinchActionType.values()) System.out.println(c);
public static FinchActionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static FinchActionType[] getActionList()
public java.lang.String toString()
toString
in class java.lang.Enum<FinchActionType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |