cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot
Enum NavigationState
java.lang.Object
java.lang.Enum<NavigationState>
cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot.NavigationState
- All Implemented Interfaces:
- Serializable, Comparable<NavigationState>
public enum NavigationState
- extends Enum<NavigationState>
States of navigation for NavigationEvaluatingBot.
- Author:
- Bogo
|
Method Summary |
static NavigationState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NavigationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NotMoving
public static final NavigationState NotMoving
OnWayToStart
public static final NavigationState OnWayToStart
Navigating
public static final NavigationState Navigating
AtTheTarget
public static final NavigationState AtTheTarget
Failed
public static final NavigationState Failed
FailedOnWayToStart
public static final NavigationState FailedOnWayToStart
values
public static NavigationState[] 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 (NavigationState c : NavigationState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NavigationState valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.