{"height":"190","published":"2015-03-26 00:00:00","categories":["Java"],"blog_title":"yohhoy\u306e\u65e5\u8a18","description":"Java8\u3067\u5c0e\u5165\u3055\u308c\u305f java.util.concurrent.ConcurrentHashMap#computeIfAbsent \u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001computeIfAbsent\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u547c\u51fa\u3055\u308c\u308b\u8a08\u7b97\u51e6\u7406\u4e2d\u304b\u3089\u3001\u518d\u5e30\u51e6\u7406\u306b\u3088\u3063\u3066\u540cConcurrentHashMap\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306ecomputeIfAbsent\u30e1\u30bd\u30c3\u30c9\u3092\u518d\u5ea6\u547c\u3073\u51fa\u3057\u3066\u306f\u306a\u3089\u306a\u3044\u3002ConcurrentHashMap\u30af\u30e9\u30b9\u306e\u4ed5\u69d8\u4e0a\u3001\u3053\u306e\u3088\u3046\u306a\u5236\u7d04\u304c\u8ab2\u3055\u308c\u3066\u3044\u308b\u3002Java8 API Specification\u3088\u308a\u8a72\u5f53\u7b87\u6240\u5f15\u7528\uff08\u4e0b\u7dda\u90e8\u306f\u5f37\u8abf\uff09\u3002 public V computeIfAbsent(K key, Function<? su\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20150326%2Fp1\" title=\"ConcurrentHashMap computeIfAbsent\u518d\u5e30\u547c\u3073\u51fa\u3057\u306fNG - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/yohhoy/","blog_url":"https://yohhoy.hatenadiary.jp/","width":"100%","version":"1.0","provider_name":"Hatena Blog","image_url":null,"provider_url":"https://hatena.blog","type":"rich","author_name":"yohhoy","title":"ConcurrentHashMap computeIfAbsent\u518d\u5e30\u547c\u3073\u51fa\u3057\u306fNG","url":"https://yohhoy.hatenadiary.jp/entry/20150326/p1"}