枚举类的使用
com.sun.source.tree.InstanceOfTree.TestKind
-
InstanceOfTree.TestKind 的用法PREVIEW 在com.sun.source.tree
修饰符和类型方法描述InstanceOfTree.getTestKind()预览。返回此 instanceof 表达式的种类。返回具有指定名称的此类的枚举常量。static InstanceOfTree.TestKindPREVIEW[]InstanceOfTree.TestKind.values()返回一个数组,其中包含此枚举类的常量,按照它们声明的顺序排列。