MemoryCache<K, V> class
Simple class to cache values with size based eviction.
Constructors
- MemoryCache({int cacheSize = 10})
Properties
Methods
-
containsKey(
K key) → bool -
getValue(
K key) → V? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValue(
K key, V value) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited