org.dllearner.kb.manipulator
Enum Rule.Months

java.lang.Object
  extended by java.lang.Enum<Rule.Months>
      extended by org.dllearner.kb.manipulator.Rule.Months
All Implemented Interfaces:
Serializable, Comparable<Rule.Months>
Enclosing class:
Rule

public static enum Rule.Months
extends Enum<Rule.Months>


Enum Constant Summary
APRIL
           
AUGUST
           
DECEMBER
           
FEBRUARY
           
JANUARY
           
JULY
           
JUNE
           
MARCH
           
MAY
           
NOVEMBER
           
OCTOBER
           
SEPTEMBER
           
 
Method Summary
static Rule.Months valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Rule.Months[] 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

JANUARY

public static final Rule.Months JANUARY

FEBRUARY

public static final Rule.Months FEBRUARY

MARCH

public static final Rule.Months MARCH

APRIL

public static final Rule.Months APRIL

MAY

public static final Rule.Months MAY

JUNE

public static final Rule.Months JUNE

JULY

public static final Rule.Months JULY

AUGUST

public static final Rule.Months AUGUST

SEPTEMBER

public static final Rule.Months SEPTEMBER

OCTOBER

public static final Rule.Months OCTOBER

NOVEMBER

public static final Rule.Months NOVEMBER

DECEMBER

public static final Rule.Months DECEMBER
Method Detail

values

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

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

valueOf

public static Rule.Months 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
NullPointerException - if the argument is null


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann