logist
Enum LogistSettings.SizeKey

java.lang.Object
  extended by java.lang.Enum<LogistSettings.SizeKey>
      extended by logist.LogistSettings.SizeKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LogistSettings.SizeKey>
Enclosing class:
LogistSettings

public static enum LogistSettings.SizeKey
extends java.lang.Enum<LogistSettings.SizeKey>

A size stored as int.


Enum Constant Summary
CITY_RADIUS
           
NUMBER_OF_AGENTS
           
NUMBER_OF_TASKS
           
ROUTE_WIDTH
           
WORLD_HEIGHT
           
WORLD_WIDTH
           
 
Method Summary
static LogistSettings.SizeKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LogistSettings.SizeKey[] 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
 

Enum Constant Detail

WORLD_WIDTH

public static final LogistSettings.SizeKey WORLD_WIDTH

WORLD_HEIGHT

public static final LogistSettings.SizeKey WORLD_HEIGHT

CITY_RADIUS

public static final LogistSettings.SizeKey CITY_RADIUS

ROUTE_WIDTH

public static final LogistSettings.SizeKey ROUTE_WIDTH

NUMBER_OF_TASKS

public static final LogistSettings.SizeKey NUMBER_OF_TASKS

NUMBER_OF_AGENTS

public static final LogistSettings.SizeKey NUMBER_OF_AGENTS
Method Detail

values

public static LogistSettings.SizeKey[] 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 (LogistSettings.SizeKey c : LogistSettings.SizeKey.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LogistSettings.SizeKey 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