摘要: Chapter 6 Enums and Annotations Item 30: Use enums instead of int constants Enum类型无非也是个普通的class,所以你可以给他加class能有的东西,比如constructor: 我记得我在thinking in jav 阅读全文
posted @ 2017-07-18 20:13 raytheweak 阅读(255) 评论(0) 推荐(0)