net.cscott.jutil
Class GenericMultiMapFactory<K,V>
java.lang.Object
net.cscott.jutil.MapFactory<K,V>
net.cscott.jutil.MultiMapFactory<K,V>
net.cscott.jutil.GenericMultiMapFactory<K,V>
public class GenericMultiMapFactory<K,V>
- extends MultiMapFactory<K,V>
GenericMultiMapFactory
implements MultiMapFactory
using instances of GenericMultiMap
.
- Version:
- $Id: GenericMultiMapFactory.java,v 1.2 2006-10-30 19:58:05 cananian Exp $
- Author:
- C. Scott Ananian
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericMultiMapFactory
public GenericMultiMapFactory(MapFactory<K,Collection<V>> mf,
CollectionFactory<V> cf)
- Create a new
GenericMultiMapFactory
, specifying
the MapFactory
and CollectionFactory
to be used by the underlying GenericMultiMap
.
GenericMultiMapFactory
public GenericMultiMapFactory()
- Create a new
GenericMultiMapFactory
, using a
HashMap
factory for the map and an
AggregateSetFactory
for the value collections.
makeMultiMap
public GenericMultiMap<K,V> makeMultiMap()
- Create a new
GenericMultiMap
.
- Overrides:
makeMultiMap
in class MultiMapFactory<K,V>
Copyright (c) 2006 C. Scott Ananian