public enum StartsWith extends Enum<StartsWith>
| Enum Constant and Description |
|---|
Consonant
Enumeration : Consonant
|
Special
Enumeration : Special
|
Vowel
Enumeration : Vowel
|
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
valuesToEnums |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static StartsWith |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartsWith[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartsWith Consonant
public static final StartsWith Vowel
public static final StartsWith Special
public static StartsWith[] values()
for (StartsWith c : StartsWith.values()) System.out.println(c);
public static StartsWith 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 nullpublic String toString()
toString in class Enum<StartsWith>Copyright © 2017. All Rights Reserved.