harpoon.Util.Collections
Class MultiMap.Factory

java.lang.Object
  |
  +--harpoon.Util.Collections.MapFactory
        |
        +--harpoon.Util.Collections.MultiMap.Factory
Enclosing class:
MultiMap

public static class MultiMap.Factory
extends MapFactory

MultiMap.Factory is a MultiMap generator.


Constructor Summary
MultiMap.Factory()
           
 
Method Summary
 Map makeMap(Map map)
          Generates a new Map, using the entries of map as a template for its initial mappings.
 MultiMap makeMultiMap()
           
 MultiMap makeMultiMap(Map map)
          Creates a new MultiMap initialized with all of the Map.Entrys in map
 MultiMap makeMultiMap(MapFactory mf, CollectionFactory cf)
           
 
Methods inherited from class harpoon.Util.Collections.MapFactory
makeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiMap.Factory

public MultiMap.Factory()
Method Detail

makeMap

public Map makeMap(Map map)
Description copied from class: MapFactory
Generates a new Map, using the entries of map as a template for its initial mappings.

Specified by:
makeMap in class MapFactory

makeMultiMap

public MultiMap makeMultiMap()

makeMultiMap

public MultiMap makeMultiMap(Map map)
Creates a new MultiMap initialized with all of the Map.Entrys in map


makeMultiMap

public MultiMap makeMultiMap(MapFactory mf,
                             CollectionFactory cf)