Package com.tagtraum.core.lang
Enum Numbers
- java.lang.Object
-
- java.lang.Enum<Numbers>
-
- com.tagtraum.core.lang.Numbers
-
- All Implemented Interfaces:
Serializable
,Comparable<Numbers>
public enum Numbers extends Enum<Numbers>
Numbers.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getNumberStrings()
boolean
isLengthDiffPossibleNumber(Integer diff)
static Numbers
valueOf(String name)
Returns the enum constant of this type with the specified name.static Numbers[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENGLISH
public static final Numbers ENGLISH
-
SPANISH
public static final Numbers SPANISH
-
FRENCH
public static final Numbers FRENCH
-
GERMAN
public static final Numbers GERMAN
-
ITALIAN
public static final Numbers ITALIAN
-
JAPANESE
public static final Numbers JAPANESE
-
DUTCH
public static final Numbers DUTCH
-
AFRIKAANS
public static final Numbers AFRIKAANS
-
NORWEGIAN
public static final Numbers NORWEGIAN
-
DANISH
public static final Numbers DANISH
-
SWEDISH
public static final Numbers SWEDISH
-
PORTOGUESE
public static final Numbers PORTOGUESE
-
CATALAN
public static final Numbers CATALAN
-
GREEK
public static final Numbers GREEK
-
ALBANIAN
public static final Numbers ALBANIAN
-
RUSSIAN
public static final Numbers RUSSIAN
-
POLISH
public static final Numbers POLISH
-
PINHIN
public static final Numbers PINHIN
-
FINNISH
public static final Numbers FINNISH
-
TURKISH
public static final Numbers TURKISH
-
-
Method Detail
-
values
public static Numbers[] 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 (Numbers c : Numbers.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Numbers 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
-
isLengthDiffPossibleNumber
public boolean isLengthDiffPossibleNumber(Integer diff)
-
getNumberStrings
public String[] getNumberStrings()
-
-