Enum RemoveWordsType
- java.lang.Object
-
- java.lang.Enum<RemoveWordsType>
-
- com.algolia.search.models.indexing.RemoveWordsType
-
- All Implemented Interfaces:
Serializable,Comparable<RemoveWordsType>
public enum RemoveWordsType extends Enum<RemoveWordsType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REMOVE_ALLOPTIONALREMOVE_FIRST_WORDSREMOVE_LAST_WORDSREMOVE_NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static RemoveWordsTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RemoveWordsType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE_LAST_WORDS
public static final RemoveWordsType REMOVE_LAST_WORDS
-
REMOVE_FIRST_WORDS
public static final RemoveWordsType REMOVE_FIRST_WORDS
-
REMOVE_NONE
public static final RemoveWordsType REMOVE_NONE
-
REMOVE_ALLOPTIONAL
public static final RemoveWordsType REMOVE_ALLOPTIONAL
-
-
Method Detail
-
values
public static RemoveWordsType[] 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 (RemoveWordsType c : RemoveWordsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemoveWordsType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<RemoveWordsType>
-
-