public enum CharacterType extends Enum<CharacterType>
Represents a type of a character, depending on how it should be indexed.
Enum Constant and Description |
---|
Blended
Both the separator and the valid character.
|
Letter
The valid character.
|
SeparateWord
The character that represents a whole word.
|
Separator
The separator character.
|
Modifier and Type | Method and Description |
---|---|
static CharacterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharacterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterType Separator
The separator character.
public static final CharacterType Letter
The valid character.
public static final CharacterType Blended
Both the separator and the valid character.
public static final CharacterType SeparateWord
The character that represents a whole word.
public static CharacterType[] values()
for (CharacterType c : CharacterType.values()) System.out.println(c);
public static CharacterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null