public enum SelectOpt extends Enum<SelectOpt>
| Enum Constant and Description |
|---|
all
查询全部
|
count
查询总数
|
exists
查询是否存在
|
page
分页查询
|
| Modifier and Type | Method and Description |
|---|---|
static SelectOpt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectOpt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectOpt all
public static final SelectOpt count
public static final SelectOpt exists
public static final SelectOpt page
public static SelectOpt[] values()
for (SelectOpt c : SelectOpt.values()) System.out.println(c);
public static SelectOpt 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 nullCopyright © 2020. All rights reserved.