Class AggregateMapFactory<K,V>

java.lang.Object
net.cscott.jutil.AggregateMapFactory<K,V>
All Implemented Interfaces:
Serializable, MapFactory<K,V>

public class AggregateMapFactory<K,V> extends Object implements MapFactory<K,V>, Serializable
AggregateMapFactory uses a single HashMap as backing store for the many smaller Maps created by this MapFactory. This means that we use much less space and rehash less frequently than if we were using the standard Factories.hashMapFactory(). The iterators of the submaps are fast, unlike those of HashMap.
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also: