cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot
Enum NavigationState

Package class diagram package NavigationState
java.lang.Object
  extended by java.lang.Enum<NavigationState>
      extended by 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

Enum Constant Summary
AtTheTarget
           
Failed
           
FailedOnWayToStart
           
Navigating
           
NotMoving
           
OnWayToStart
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.