public enum Type extends Enum<Type>
| 枚举常量和说明 |
|---|
NULL |
OPERAND |
OPERATOR |
PARENTHESIS |
SEPAERATOR |
public static final Type NULL
public static final Type OPERAND
public static final Type OPERATOR
public static final Type PARENTHESIS
public static final Type SEPAERATOR
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2012–2016. All rights reserved.