public enum CommandType extends Enum<CommandType>
public static final CommandType INSERT
public static final CommandType UPDATE
public static final CommandType DELETE
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Integer getType()
Copyright © 2022. All rights reserved.