public abstract class MultiMapFactory<K,V> extends MapFactory<K,V>
MultiMapFactory is a MultiMap generator.
Subclasses should implement constructions of specific types of
MultiMaps. Subclasses *must* implement at least one of
the makeMultiMap methods.| Constructor and Description |
|---|
MultiMapFactory()
Creates a
MultiMapFactory. |
| Modifier and Type | Method and Description |
|---|---|
MultiMap<K,V> |
makeMap()
Generates a new, mutable, empty
Map. |
MultiMap<K,V> |
makeMap(java.util.Map<? extends K,? extends V> map)
Generates a new
Map, using the entries of
map as a template for its initial mappings. |
MultiMap<K,V> |
makeMultiMap()
Create a new, empty,
MultiMap. |
MultiMap<K,V> |
makeMultiMap(MultiMap<? extends K,? extends V> map)
|
public MultiMapFactory()
MultiMapFactory.public final MultiMap<K,V> makeMap()
MapFactoryMap.makeMap in class MapFactory<K,V>public final MultiMap<K,V> makeMap(java.util.Map<? extends K,? extends V> map)
MapFactoryMap, using the entries of
map as a template for its initial mappings.makeMap in class MapFactory<K,V>Copyright (c) 2006 C. Scott Ananian