bingoogolapple.github.io
bingoogolapple.github.io copied to clipboard
Live Templates
- 添加 BGA 组
- 单例模式-静态内部类
private $CLASS$() {
$END$
}
private static class SingletonHolder {
private static final $CLASS$ INSTANCE = new $CLASS$();
}
public static $CLASS$ getInstance() {
return SingletonHolder.INSTANCE;
}