@Test public void testLRUCache() { LRUCache<Long, Long> underTest = new LRUCache<Long, Long>(); assertEquals(10000, underTest.getMaxCacheSize()); underTest.setMaxCacheSize(1000); assertEquals(1000, underTest.getMaxCacheSize()); }
public LRUCache() { this(0,10000, 0.75f, true); }
LRUCache extends LinkedHashMap<K, V> { public LRUCache() { this(0,10000, 0.75f, true); } }
LRUCache extends LinkedHashMap<K, V> { public LRUCache() { this(0,10000, 0.75f, true); } LRUCache();  LRUCache(int maximumCacheSize);  LRUCache(int initialCapacity, int maximumCacheSize, float loadFactor, boolean accessOrder); }
LRUCache extends LinkedHashMap<K, V> { public LRUCache() { this(0,10000, 0.75f, true); } LRUCache();  LRUCache(int maximumCacheSize);  LRUCache(int initialCapacity, int maximumCacheSize, float loadFactor, boolean accessOrder); int getMaxCacheSize(); void setMaxCacheSize(int maxCacheSize); }
LRUCache extends LinkedHashMap<K, V> { public LRUCache() { this(0,10000, 0.75f, true); } LRUCache();  LRUCache(int maximumCacheSize);  LRUCache(int initialCapacity, int maximumCacheSize, float loadFactor, boolean accessOrder); int getMaxCacheSize(); void setMaxCacheSize(int maxCacheSize);  }