public enum LfenumEnum extends Enum<LfenumEnum>
| Enum Constant and Description |
|---|
ENUM1
Represents enum1.
|
ENUM2
Represents enum2.
|
ENUM3
Represents enum3.
|
ENUM4
Represents enum4.
|
| Modifier and Type | Method and Description |
|---|---|
int |
lfenumEnum()
Returns the attribute lfenumEnum.
|
static LfenumEnum |
of(int value)
Returns the object of lfenumEnum for.
|
static LfenumEnum |
of(String value)
Returns the object of lfenumEnum for.
|
String |
toString() |
static LfenumEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LfenumEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LfenumEnum ENUM1
public static final LfenumEnum ENUM2
public static final LfenumEnum ENUM3
public static final LfenumEnum ENUM4
public static LfenumEnum[] values()
for (LfenumEnum c : LfenumEnum.values()) System.out.println(c);
public static LfenumEnum 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 static LfenumEnum of(int value)
value - value of lfenumEnum forpublic static LfenumEnum of(String value)
value - value of lfenumEnum forpublic int lfenumEnum()
public String toString()
toString in class Enum<LfenumEnum>Copyright © 2018. All rights reserved.