{"title":"Double Brace Initialization\u30a4\u30c7\u30a3\u30aa\u30e0","categories":["Java"],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20150318%2Fp1\" title=\"Double Brace Initialization\u30a4\u30c7\u30a3\u30aa\u30e0 - 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>","height":"190","author_url":"https://blog.hatena.ne.jp/yohhoy/","provider_name":"Hatena Blog","author_name":"yohhoy","provider_url":"https://hatena.blog","url":"https://yohhoy.hatenadiary.jp/entry/20150318/p1","image_url":null,"width":"100%","blog_title":"yohhoy\u306e\u65e5\u8a18","blog_url":"https://yohhoy.hatenadiary.jp/","version":"1.0","published":"2015-03-18 00:00:00","description":"Java\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3084\u30cd\u30b9\u30c8\u3057\u305fGUI\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30011\u8ad6\u7406\u884c\u3063\u307d\u304f\u521d\u671f\u5316\u3059\u308b\u65b9\u6cd5\u3002Double Brace Initialization\u30a4\u30c7\u30a3\u30aa\u30e0\uff082\u91cd\u30d6\u30ec\u30fc\u30b9\u521d\u671f\u5316\uff09\u3068\u3082\u547c\u3070\u308c\u308b\u3002 List<String> list = new ArrayList<String>() {{ add(\"foo\"); add(\"bar\"); add(\"zot\"); }}; add(new JPanel() {{ setLayout(...); setBorder(...); add(new JLabel(...)); add(new JSpinner(...)); }}); \u69cb\u6587\u7684\u306b\u306f\u5916\u5074\u30d6\u30ec\u30fc\u30b9\u304c\u533f\u540d\u30af\u30e9\u2026"}