public enum CoupleType extends Enum<CoupleType>
| Enum Constant and Description |
|---|
LIFETIME |
| Modifier and Type | Method and Description |
|---|---|
static CoupleType |
fromValue(String v) |
String |
getValue() |
static CoupleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoupleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoupleType LIFETIME
public static CoupleType[] values()
for (CoupleType c : CoupleType.values()) System.out.println(c);
public static CoupleType 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 getValue()
public static CoupleType fromValue(String v)
Copyright © 2017. All Rights Reserved.