!100 单例模式

Merge pull request !100 from geekymv/master
This commit is contained in:
若依 2019-06-13 17:35:08 +08:00 committed by Gitee
commit a1523e3bfd

View File

@ -26,6 +26,8 @@ public class AsyncManager
/** /**
* 单例模式 * 单例模式
*/ */
private AsyncManager(){}
private static AsyncManager me = new AsyncManager(); private static AsyncManager me = new AsyncManager();
public static AsyncManager me() public static AsyncManager me()