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