public class LRUCache<K,V> extends Object
LRUCache(int capacity)
LRUCache(int capacity, long expireTimeMs)
void
clear()
V
get(K key)
put(K key, V value)
int
size()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public LRUCache(int capacity)
public LRUCache(int capacity, long expireTimeMs)
public V get(K key)
public V put(K key, V value)
@VisibleForTesting public void clear()
public int size()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.