@@ -0,0 +1,466 @@
+package io.tetrapod.core.utils;%0A%0Aimport java.util.*;%0A%0Apublic class LRUCache%3CK, V%3E extends LinkedHashMap%3CK, V%3E %7B%0A   private static final float LOAD_FACTOR = 0.75f;%0A%0A   private final int          maxSize;%0A%0A   public LRUCache(int maxSize) %7B%0A      super((int) Math.ceil(maxSize / LOAD_FACTOR) + 1, LOAD_FACTOR, true);%0A      this.maxSize = maxSize;%0A   %7D%0A%0A   @Override%0A   protected boolean removeEldestEntry(Map.Entry%3CK, V%3E eldest) %7B%0A      return size() %3E maxSize;%0A   %7D%0A%7D%0A

Add an LRUCache