なんでシングルトンを使ってはいけないを会話的に

efclefcl のブックマーク 2015/07/24 12:01

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Clean Coder Blog

    public class X { private static X instance = null; private X() {} public static X instance() { if (instance == null) instance = new X(); return instance; } // more methods... } Of course. That’s th...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう