|
JUtil | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.cscott.jutil.MapFactory<K,V> net.cscott.jutil.MultiMapFactory<K,V>
public abstract class MultiMapFactory<K,V>
MultiMapFactory
is a MultiMap
generator.
Subclasses should implement constructions of specific types of
MultiMap
s. Subclasses *must* implement at least one of
the makeMultiMap
methods.
Constructor Summary | |
---|---|
MultiMapFactory()
Creates a MultiMapFactory . |
Method Summary | |
---|---|
MultiMap<K,V> |
makeMap()
Generates a new, mutable, empty Map . |
MultiMap<K,V> |
makeMap(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)
Creates a new MultiMap initialized with all
of the Map.Entry s in map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiMapFactory()
MultiMapFactory
.
Method Detail |
---|
public final MultiMap<K,V> makeMap()
MapFactory
Map
.
makeMap
in class MapFactory<K,V>
public final MultiMap<K,V> makeMap(Map<? extends K,? extends V> map)
MapFactory
Map
, using the entries of
map
as a template for its initial mappings.
makeMap
in class MapFactory<K,V>
public MultiMap<K,V> makeMultiMap()
MultiMap
.
public MultiMap<K,V> makeMultiMap(MultiMap<? extends K,? extends V> map)
MultiMap
initialized with all
of the Map.Entry
s in map
|
JUtil | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |