nz.ac.waikato.modeljunit.examples
Enum QuiDonc.State

java.lang.Object
  extended by java.lang.Enum<QuiDonc.State>
      extended by nz.ac.waikato.modeljunit.examples.QuiDonc.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<QuiDonc.State>
Enclosing class:
QuiDonc

public static enum QuiDonc.State
extends java.lang.Enum<QuiDonc.State>


Enum Constant Summary
Emerg
           
Enter
           
Info
           
Star
           
Start
           
 
Method Summary
static QuiDonc.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QuiDonc.State[] 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

Start

public static final QuiDonc.State Start

Star

public static final QuiDonc.State Star

Enter

public static final QuiDonc.State Enter

Emerg

public static final QuiDonc.State Emerg

Info

public static final QuiDonc.State Info
Method Detail

values

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

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

valueOf

public static QuiDonc.State 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


Copyright © 2009 ModelJUnit Project. All Rights Reserved.