enum(枚举)实践

目录 两个隐式方法 声明及基本用法 与switch配合 推荐阅读 两个隐式方法 当生成一个枚举值类型的对象时,它会直接用有两个隐式的静态方法 * values() * valueOf(String name)html /** * Returns an array containing the constants of this enum * type, in the order they're d
相关文章
相关标签/搜索