Class BidirectionalObjectToIdMapDefault<V>

java.lang.Object
ch.qos.logback.core.kryo.BidirectionalObjectToIdMapDefault<V>
All Implemented Interfaces:
BidirectionalObjectToIdMap<V>

Value↔id map with access-order LRU eviction at capacity.

getIdByValue(V) and getValueById(int) count as uses, so entries that keep being looked up stay; the least-recently-used mapping is dropped when a new one would exceed capacity. Evicted ids are reused for later inserts. idToValue is a plain HashMap; LRU order lives only in valueToId.