Package org.simpleframework.xml.util
Class Resolver.Cache
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.Object,T>
-
- org.simpleframework.xml.util.LimitedCache<java.util.List<M>>
-
- org.simpleframework.xml.util.Resolver.Cache
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.util.List<M>>
,Cache<java.util.List<M>>
private class Resolver.Cache extends LimitedCache<java.util.List<M>>
This is used to cache resolutions made so that the matches can be acquired the next time without performing the resolution. This is an LRU cache so regardless of the number of resolutions made this will not result in a memory leak for the resolver.
-
-
Constructor Summary
Constructors Constructor Description Cache()
Constructor for theCache
object.
-
Method Summary
-
Methods inherited from class org.simpleframework.xml.util.LimitedCache
cache, contains, fetch, removeEldestEntry, take
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-