logelei
Enum Loesung.Gericht

java.lang.Object
  extended by java.lang.Enum<Loesung.Gericht>
      extended by logelei.Loesung.Gericht
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Loesung.Gericht>
Enclosing class:
Loesung

public static enum Loesung.Gericht
extends java.lang.Enum<Loesung.Gericht>

Die Gerichte des Rätsels.


Enum Constant Summary
Bockwurst
          Die Bockwurst aus dem Rätsel.
Fisch
          Der Fisch aus dem Rätsel.
Pizza
          Die Pizza aus dem Rätsel.
Pommes
          Die Pommes Frites aus dem Rätsel.
Schokolade
          Die Schokolade aus dem Rätsel.
 
Method Summary
static Loesung.Gericht valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Loesung.Gericht[] 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

Pizza

public static final Loesung.Gericht Pizza
Die Pizza aus dem Rätsel.


Schokolade

public static final Loesung.Gericht Schokolade
Die Schokolade aus dem Rätsel.


Fisch

public static final Loesung.Gericht Fisch
Der Fisch aus dem Rätsel.


Bockwurst

public static final Loesung.Gericht Bockwurst
Die Bockwurst aus dem Rätsel.


Pommes

public static final Loesung.Gericht Pommes
Die Pommes Frites aus dem Rätsel.

Method Detail

values

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

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

valueOf

public static Loesung.Gericht 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