单元素的枚举类型 实现 singleton 单例

p15

原文地址:https://www.cnblogs.com/rsapaper/p/10961050.html