Package com.redislabs.lettusearch
Enum SearchOptions.Language
- java.lang.Object
-
- java.lang.Enum<SearchOptions.Language>
-
- com.redislabs.lettusearch.SearchOptions.Language
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SearchOptions.Language>
- Enclosing class:
- SearchOptions<K>
public static enum SearchOptions.Language extends java.lang.Enum<SearchOptions.Language>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchOptions.LanguagevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SearchOptions.Language[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Arabic
public static final SearchOptions.Language Arabic
-
Danish
public static final SearchOptions.Language Danish
-
Dutch
public static final SearchOptions.Language Dutch
-
English
public static final SearchOptions.Language English
-
Finnish
public static final SearchOptions.Language Finnish
-
French
public static final SearchOptions.Language French
-
German
public static final SearchOptions.Language German
-
Hungarian
public static final SearchOptions.Language Hungarian
-
Italian
public static final SearchOptions.Language Italian
-
Norwegian
public static final SearchOptions.Language Norwegian
-
Portuguese
public static final SearchOptions.Language Portuguese
-
Romanian
public static final SearchOptions.Language Romanian
-
Russian
public static final SearchOptions.Language Russian
-
Spanish
public static final SearchOptions.Language Spanish
-
Swedish
public static final SearchOptions.Language Swedish
-
Tamil
public static final SearchOptions.Language Tamil
-
Turkish
public static final SearchOptions.Language Turkish
-
Chinese
public static final SearchOptions.Language Chinese
-
-
Method Detail
-
values
public static SearchOptions.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 (SearchOptions.Language c : SearchOptions.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 SearchOptions.Language 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 namejava.lang.NullPointerException- if the argument is null
-
-