Package cz.cuni.amis.utils.maps

Package class diagram package cz.cuni.amis.utils.maps
Interface Summary
MapWithKeyListeners.IKeyCreatedListener<KEY,VALUE>  
 

Class Summary
AbstractLazyMap<KEY,VALUE> Abstract implementation of a lazy map.
CountIntMap<KEY>  
HashMapList<KEY,ITEM> Map containing lists of items.
HashMapMap<PRIMARY_KEY,SECONDARY_KEY,ITEM> Map containing other maps.
HashMapSet<KEY,ITEM> Map containing sets.
HashTriMap<PRIMARY_KEY,SECONDARY_KEY,TERTIARY_KEY,ITEM> Three-level thread-safe hash map, implemented via synchronized maps (Collections.synchronizedMap)
LazyMap<K,V> Maps whose items are initialized on demand by create(K) method.
LazyMapMap<PRIMARY_KEY,SECONDARY_KEY,ITEM> Map containing other maps.
MapWithKeyListeners<KEY,VALUE>  
MapWithKeyListeners.KeyCreatedEvent<KEY,VALUE>  
MapWithKeyListeners.KeyCreatedEventListenerNotifier<KEY,VALUE>  
SyncHashMap<K,V> THREAD-SAFE unless you misuse SyncHashMap.getMap() without locking SyncHashMap.getReadLock() or SyncHashMap.getWriteLock() according to the operation you want to perform.
WeakHashMapMap<PRIMARY_KEY,SECONDARY_KEY,ITEM> Two-level hashMap where the first-level keys are weakly referenced! This means that if the key is not strongly referenced elsewhere, the maps can be garbage collected.
WeakHashQuadMap<PRIMARY_KEY,SECONDARY_KEY,TERTIARY_KEY,QUATERNARY_KEY,ITEM> A 4-level hashMap, the PrimaryKeys are weakly referenced.
WeakHashTriMap<PRIMARY_KEY,SECONDARY_KEY,TERTIARY_KEY,ITEM> Three-level hash map, where the PRIMARY_KEY maps are implemented using WeakHashMap.
 



Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.