Enum Categorizer.Language
- java.lang.Object
-
- java.lang.Enum<Categorizer.Language>
-
- net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer.Language
-
- All Implemented Interfaces:
Serializable,Comparable<Categorizer.Language>
- Enclosing interface:
- Categorizer
public static enum Categorizer.Language extends Enum<Categorizer.Language>
-
-
Field Summary
Fields Modifier and Type Field Description StringlanguageValue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Categorizer.LanguagevalueOf(String name)Returns the enum constant of this type with the specified name.static Categorizer.Language[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EN
public static final Categorizer.Language EN
-
FR
public static final Categorizer.Language FR
-
-
Field Detail
-
languageValue
public final String languageValue
-
-
Method Detail
-
values
public static Categorizer.Language[] 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 (Categorizer.Language c : Categorizer.Language.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Categorizer.Language 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
-
-