map property

LinkedHashMap<K, V> map
latefinal

The map that stores the cache entries in access order.

Uses LinkedHashMap to maintain insertion order, which can be leveraged for LRU eviction policies.

Implementation

late final LinkedHashMap<K, V> map;