Package com.tagtraum.core.lang
Enum And
- java.lang.Object
-
- java.lang.Enum<And>
-
- com.tagtraum.core.lang.And
-
- All Implemented Interfaces:
Serializable
,Comparable<And>
public enum And extends Enum<And>
And.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnd()
static And
getAnd(Locale locale)
static And
valueOf(String name)
Returns the enum constant of this type with the specified name.static And[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENGLISH
public static final And ENGLISH
-
SPANISH
public static final And SPANISH
-
FRENCH
public static final And FRENCH
-
GERMAN
public static final And GERMAN
-
ITALIAN
public static final And ITALIAN
-
DUTCH
public static final And DUTCH
-
DANISH
public static final And DANISH
-
FINNISH
public static final And FINNISH
-
SWEDISH
public static final And SWEDISH
-
NORWEGIAN
public static final And NORWEGIAN
-
TURKISH
public static final And TURKISH
-
PORTUGUESE
public static final And PORTUGUESE
-
-
Method Detail
-
values
public static And[] 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 (And c : And.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static And 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 nameNullPointerException
- if the argument is null
-
getAnd
public String getAnd()
-
-