LRUMap<K, V> class

Constructors

LRUMap(int _maxSize, [EvictionHandler<K, V>? _handler])

Properties

hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
keys Iterable<K>
no setter
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<V>
no setter

Methods

clear() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putIfAbsent(K key, V create()) → V
remove(K key) → void
toString() String
A string representation of this object.
override

Operators

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