public enum WhereEnum extends Enum<WhereEnum>
| Enum Constant and Description |
|---|
AFTER
Represents after.
|
BEFORE
Represents before.
|
FIRST
Represents first.
|
LAST
Represents last.
|
| Modifier and Type | Method and Description |
|---|---|
static WhereEnum |
of(int value)
Returns the object of whereEnum for.
|
static WhereEnum |
of(String value)
Returns the object of whereEnum for.
|
String |
toString() |
static WhereEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhereEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
int |
whereEnum()
Returns the attribute whereEnum.
|
public static final WhereEnum BEFORE
public static final WhereEnum AFTER
public static final WhereEnum FIRST
public static final WhereEnum LAST
public static WhereEnum[] values()
for (WhereEnum c : WhereEnum.values()) System.out.println(c);
public static WhereEnum 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 WhereEnum of(int value)
value - value of whereEnum forpublic static WhereEnum of(String value)
value - value of whereEnum forpublic int whereEnum()
Copyright © 2018. All rights reserved.