Enum PhoneticEncoder
- java.lang.Object
-
- java.lang.Enum<PhoneticEncoder>
-
- com.azure.search.documents.indexes.models.PhoneticEncoder
-
- All Implemented Interfaces:
Serializable
,Comparable<PhoneticEncoder>
public enum PhoneticEncoder extends Enum<PhoneticEncoder>
Defines values for PhoneticEncoder.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEIDER_MORSE
Enum value beiderMorse.CAVERPHONE1
Enum value caverphone1.CAVERPHONE2
Enum value caverphone2.COLOGNE
Enum value cologne.DOUBLE_METAPHONE
Enum value doubleMetaphone.HAASE_PHONETIK
Enum value haasePhonetik.KOELNER_PHONETIK
Enum value koelnerPhonetik.METAPHONE
Enum value metaphone.NYSIIS
Enum value nysiis.REFINED_SOUNDEX
Enum value refinedSoundex.SOUNDEX
Enum value soundex.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhoneticEncoder
fromString(String value)
Parses a serialized value to a PhoneticEncoder instance.String
toString()
static PhoneticEncoder
valueOf(String name)
Returns the enum constant of this type with the specified name.static PhoneticEncoder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METAPHONE
public static final PhoneticEncoder METAPHONE
Enum value metaphone.
-
DOUBLE_METAPHONE
public static final PhoneticEncoder DOUBLE_METAPHONE
Enum value doubleMetaphone.
-
SOUNDEX
public static final PhoneticEncoder SOUNDEX
Enum value soundex.
-
REFINED_SOUNDEX
public static final PhoneticEncoder REFINED_SOUNDEX
Enum value refinedSoundex.
-
CAVERPHONE1
public static final PhoneticEncoder CAVERPHONE1
Enum value caverphone1.
-
CAVERPHONE2
public static final PhoneticEncoder CAVERPHONE2
Enum value caverphone2.
-
COLOGNE
public static final PhoneticEncoder COLOGNE
Enum value cologne.
-
NYSIIS
public static final PhoneticEncoder NYSIIS
Enum value nysiis.
-
KOELNER_PHONETIK
public static final PhoneticEncoder KOELNER_PHONETIK
Enum value koelnerPhonetik.
-
HAASE_PHONETIK
public static final PhoneticEncoder HAASE_PHONETIK
Enum value haasePhonetik.
-
BEIDER_MORSE
public static final PhoneticEncoder BEIDER_MORSE
Enum value beiderMorse.
-
-
Method Detail
-
values
public static PhoneticEncoder[] 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 (PhoneticEncoder c : PhoneticEncoder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhoneticEncoder 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
-
fromString
public static PhoneticEncoder fromString(String value)
Parses a serialized value to a PhoneticEncoder instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed PhoneticEncoder object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<PhoneticEncoder>
-
-