Package com.globalmentor.collections
Interface ReadWriteLockCollectionMap<K,V,C extends Collection<V>>
- Type Parameters:
K
- The type of key used in the map.V
- The type of value stored in each collection in the map.C
- The type of collection in which to store values in the map.
- All Superinterfaces:
CollectionMap<K,
,V, C> Map<K,
,C> ReadWriteLock
,ReadWriteLockMap<K,
C>
- All Known Implementing Classes:
DecoratorReadWriteLockCollectionMap
public interface ReadWriteLockCollectionMap<K,V,C extends Collection<V>>
extends CollectionMap<K,V,C>, ReadWriteLockMap<K,C>
A thread-safe map that stores a collection of values for each key, with special methods for retrieving single values.
- Author:
- Garret Wilson
-
Nested Class Summary
-
Method Summary
Methods inherited from interface com.globalmentor.collections.CollectionMap
addItem, createCollection, getCollection, getItem, getItemCount, getItems, hasItems, removeItem
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from interface java.util.concurrent.locks.ReadWriteLock
readLock, writeLock