单例模式8种写法
摘要:1 package com.learn.design_pattern.singleton; 2 3 /** 4 * TODO 5 * 6 * @author chip 7 * @version 1.0 8 * @date 2020/7/10 16:59 9 * 饿汉模式第一种(静态常量) 10 *
阅读全文
posted @ 2020-07-10 17:56
posted @ 2020-07-10 17:56
posted @ 2020-07-10 17:51