Package cz.cuni.amis.utils.maps


Class Summary
AbstractLazyMap<KEY,VALUE> Abstract implementation of a lazy map.
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.
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.