ふと気付いたんだけど……
synchronized(this) { if (this.entry != null) return; this.entry = new HashMap<String, List<String>>(); }
このコードって、new HashMap が行われるのって常に1回だけってのは保障されるのかなぁ……。
synchronized(this) { if (this.entry != null) return; this.entry = new HashMap<String, List<String>>(); }
このコードって、new HashMap が行われるのって常に1回だけってのは保障されるのかなぁ……。