- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MapFactory.HashMapFactory, MapFactory.IdentityHashMapFactory, MapFactory.TreeMapFactory, MapFactory.WeakHashMapFactory
public abstract class MapFactory<K,V>
extends Object
implements Serializable
The MapFactory is a mechanism for specifying what kind of map is to be used
by some object. For example, if you want a Counter which is backed by an
IdentityHashMap instead of the defaul HashMap, you can pass in an
IdentityHashMapFactory.
- Author:
- Dan Klein
- See Also:
- Serialized Form