Class MultiKeyResourceMap<RESOURCE extends org.alfresco.utility.model.TestModel>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,RESOURCE>
org.alfresco.rest.repo.resource.cache.MultiKeyResourceMap<RESOURCE>
- Type Parameters:
RESOURCE- repository resource, e.g. folder, category, etc.
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,RESOURCE>
public class MultiKeyResourceMap<RESOURCE extends org.alfresco.utility.model.TestModel>
extends HashMap<String,RESOURCE>
Allows to store data in map and find it using three keys - id, name and alias.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
MultiKeyResourceMap
-
-
Method Details
-
put
-
get
-
remove
-
findKeysFor
-