InMemoryStorage<K, V> class

Implemented types

Constructors

InMemoryStorage(int size)

Properties

capacity int
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
keys List<K>
no setteroverride
length int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<CacheEntry<K, V>>
no setteroverride

Methods

clear() → void
override
containsKey(K key) bool
override
get(K key) CacheEntry<K, V>?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(K key) → void
override
set(K key, CacheEntry<K, V> value) Storage
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](K key) CacheEntry<K, V>?
override
operator []=(K key, CacheEntry<K, V> value) → void
override