public enum NumberOfComparingItemsPerPage extends Enum<NumberOfComparingItemsPerPage>
Enum Constant and Description |
---|
EIGHTY |
FIFTY |
FORTY |
NINETY |
ONE_HUNDRED |
SEVENTY |
SIXTY |
TEN |
THIRTY |
TWENTY |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Returns
int Integer value of the number of items per page. |
String |
getName()
Returns
String The name of the number of items per page. |
String |
getValue()
Returns
String The value of the number of items per page. |
static NumberOfComparingItemsPerPage |
parse(String value)
Returns the number of items per page instance that corresponds to the value specified.
|
static NumberOfComparingItemsPerPage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberOfComparingItemsPerPage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberOfComparingItemsPerPage TEN
public static final NumberOfComparingItemsPerPage TWENTY
public static final NumberOfComparingItemsPerPage THIRTY
public static final NumberOfComparingItemsPerPage FORTY
public static final NumberOfComparingItemsPerPage FIFTY
public static final NumberOfComparingItemsPerPage SIXTY
public static final NumberOfComparingItemsPerPage SEVENTY
public static final NumberOfComparingItemsPerPage EIGHTY
public static final NumberOfComparingItemsPerPage NINETY
public static final NumberOfComparingItemsPerPage ONE_HUNDRED
public static NumberOfComparingItemsPerPage[] values()
for (NumberOfComparingItemsPerPage c : NumberOfComparingItemsPerPage.values()) System.out.println(c);
public static NumberOfComparingItemsPerPage 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 NumberOfComparingItemsPerPage parse(String value)
public String getValue()
String
The value of the number of items per page.public String getName()
String
The name of the number of items per page.public int getIntValue()
int
Integer value of the number of items per page.