Package net.cscott.jutil
Class GenericMultiMapFactory<K,V>
java.lang.Object
net.cscott.jutil.GenericMultiMapFactory<K,V>
- All Implemented Interfaces:
MapFactory<K,,V> MultiMapFactory<K,V>
- Since:
- 1.3
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newGenericMultiMapFactory, using aHashMapfactory for the map and anAggregateSetFactoryfor the value collections.GenericMultiMapFactory(MapFactory<K, Collection<V>> mf, CollectionFactory<V> cf) Create a newGenericMultiMapFactory, specifying theMapFactoryandCollectionFactoryto be used by the underlyingGenericMultiMap. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.cscott.jutil.MultiMapFactory
makeMap, makeMap, makeMultiMap
-
Constructor Details
-
GenericMultiMapFactory
Create a newGenericMultiMapFactory, specifying theMapFactoryandCollectionFactoryto be used by the underlyingGenericMultiMap. -
GenericMultiMapFactory
public GenericMultiMapFactory()Create a newGenericMultiMapFactory, using aHashMapfactory for the map and anAggregateSetFactoryfor the value collections.
-
-
Method Details
-
makeMultiMap
Create a newGenericMultiMap.- Specified by:
makeMultiMapin interfaceMultiMapFactory<K,V>
-