org.nak.cleaning.object
Enum ElementType

java.lang.Object
  extended by java.lang.Enum<ElementType>
      extended by org.nak.cleaning.object.ElementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ElementType>

public enum ElementType
extends java.lang.Enum<ElementType>


Enum Constant Summary
CHARGE_STATION
           
DUST_BIN
           
EMPTY_CAN
           
LEAVES
           
LITTER
           
OTHER
           
PILE_OF_JUNK
           
PUDDLE
           
ROBOT
           
SAND
           
 
Method Summary
static ElementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ElementType[] 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

ROBOT

public static final ElementType ROBOT

CHARGE_STATION

public static final ElementType CHARGE_STATION

DUST_BIN

public static final ElementType DUST_BIN

EMPTY_CAN

public static final ElementType EMPTY_CAN

LEAVES

public static final ElementType LEAVES

LITTER

public static final ElementType LITTER

PILE_OF_JUNK

public static final ElementType PILE_OF_JUNK

PUDDLE

public static final ElementType PUDDLE

SAND

public static final ElementType SAND

OTHER

public static final ElementType OTHER
Method Detail

values

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

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

valueOf

public static ElementType 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