Timmy
03/08/2019, 7:47 PMLinkedHashMap
does not have the accessOrder
property that the java.util.LinkedHashMap
has. Is there a replacement if I want to use such a functionality, for example for as a LRU cache? Or should I look for a third party library for simple LRU caching (with kotlin multiplatform support)?josephivie
03/08/2019, 8:38 PMTimmy
03/09/2019, 1:34 AMjava.util.LinkedHashMap
has the advantage that it can do the refresh on access in one step (access + move to end) while the decorator approach has multiple steps. Probably wont matter too much.