MapCache<K, V> class
Properties
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
get(K key, { Loader<K, V> ifAbsent })
→ Future<V>
-
Returns the value associated with
key
.
override
-
invalidate(K key)
→ Future<Null>
-
Removes the value associated with
key
. The Future completes with null
when the operation is complete.
override
-
set(K key, V value)
→ Future<Null>
-
Sets the value associated with
key
. The Future completes with null when
the operation is complete.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited