LRUCache<K, V> class
实现一个简单的 LRU 缓存
Properties
Methods
-
clear(
) → void -
containsKey(
K key) → bool -
keys(
) → Iterable< K> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
K key) → V? -
toString(
) → String -
A string representation of this object.
override
-
values(
) → Iterable< V>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator [](
K key) → V? -
operator []=(
K key, V value) → void