bibliothek.util
Enum Todo.Version

java.lang.Object
  extended by java.lang.Enum<Todo.Version>
      extended by bibliothek.util.Todo.Version
All Implemented Interfaces:
Serializable, Comparable<Todo.Version>
Enclosing class:
Todo

public static enum Todo.Version
extends Enum<Todo.Version>

Tells when an Todo is scheduled to be implemented


Enum Constant Summary
VERSION_1_1_0
           
VERSION_1_1_1
           
VERSION_1_1_2
           
 
Method Summary
static Todo.Version valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Todo.Version[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VERSION_1_1_0

public static final Todo.Version VERSION_1_1_0

VERSION_1_1_1

public static final Todo.Version VERSION_1_1_1

VERSION_1_1_2

public static final Todo.Version VERSION_1_1_2
Method Detail

values

public static final Todo.Version[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Todo.Version c : Todo.Version.values())
        System.out.println(c);

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

valueOf

public static Todo.Version 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