{"description":"LinkedHashMap\u3092\u4f7f\u3046\u3068FIFO\u65b9\u5f0f\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u3055\u304f\u3063\u3068\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002\u65b0\u3057\u3044\u30a8\u30f3\u30c8\u30ea\u304c\u8ffd\u52a0\u3055\u308c\u308b\u305f\u3073\u306b\u547c\u3073\u51fa\u3055\u308c\u308bremoveEldestEntry()\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3001\u524a\u9664\u3059\u308b\u304b\u3069\u3046\u304b\u306e\u5224\u5b9a\u51e6\u7406\u3092\u66f8\u304f\u3060\u3051\u3067OK\u3002 public static void main( String[] args ) { // \u8981\u7d20\u30925\u500b\u3060\u3051\u4fdd\u6301\u3059\u308bFIFO\u65b9\u5f0f\u306e\u30ad\u30e3\u30c3\u30b7\u30e5 Map<String, String> cache = new LinkedHashMap<String, String>(5) { @Override protected boolean removeEldestEntry(M\u2026","url":"https://unageanu.hatenablog.com/entry/20090812/1250081068","blog_title":"\u3046\u306a\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","width":"100%","title":" LinkedHashMap\u3067FIFO\u65b9\u5f0f\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u3055\u304f\u3063\u3068\u4f5c\u308b\u3002","image_url":null,"published":"2009-08-12 21:44:28","type":"rich","author_url":"https://blog.hatena.ne.jp/unageanu/","height":"190","provider_name":"Hatena Blog","categories":["Java"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20090812%2F1250081068\" title=\" LinkedHashMap\u3067FIFO\u65b9\u5f0f\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u3055\u304f\u3063\u3068\u4f5c\u308b\u3002 - \u3046\u306a\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_name":"unageanu","blog_url":"https://unageanu.hatenablog.com/"}