public enum OperateType extends Enum<OperateType>
| Enum Constant and Description |
|---|
DELETE
删除
|
INSERT
增加
|
SELECT
查询
|
UPDATE
更新
|
| Modifier and Type | Method and Description |
|---|---|
static OperateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperateType SELECT
public static final OperateType UPDATE
public static final OperateType DELETE
public static final OperateType INSERT
public static OperateType[] values()
for (OperateType c : OperateType.values()) System.out.println(c);
public static OperateType 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 © 2024. All rights reserved.