Class BidirectionalObjectToIdMapIdentity<V>

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

Value↔id map keyed by object identity (== / System.identityHashCode(Object)), with access-order LRU eviction at capacity.

Equal-but-distinct instances are different keys. getIdByValue(V) and getValueById(int) count as uses. Evicted ids are reused for later inserts. idToValue is a plain HashMap; LRU order lives only in valueToId.

See Also: