public enum Possessive extends java.lang.Enum<Possessive>
| Enum Constant and Description |
|---|
First
Enumeration : First
|
None
Enumeration : None
|
Second
Enumeration : Second
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,java.lang.String> |
valuesToEnums |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Possessive |
valueOf(java.lang.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 java.util.Map<java.lang.String,java.lang.String> valuesToEnums
public static Possessive[] values()
for (Possessive c : Possessive.values()) System.out.println(c);
public static Possessive valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<Possessive>Copyright © 2020. All Rights Reserved.