Package net.cscott.jutil
Interface MultiMapFactory<K,V>
- All Superinterfaces:
MapFactory<K,V>
- All Known Implementing Classes:
GenericMultiMapFactory,PersistentMultiMapFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
MultiMapFactory is a MultiMap generator.
Implementations construct specific types of MultiMaps.
It is a functional interface, whose method is
makeMultiMap(), so a constructor of an empty
MultiMap is a MultiMapFactory:
GenericMultiMap::new.- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
-
Method Details
-
makeMap
Description copied from interface:MapFactoryGenerates a new, mutable, emptyMap.- Specified by:
makeMapin interfaceMapFactory<K,V>
-
makeMap
Description copied from interface:MapFactoryGenerates a newMap, using the entries ofmapas a template for its initial mappings.- Specified by:
makeMapin interfaceMapFactory<K,V>
-
makeMultiMap
Create a new, empty,MultiMap. -
makeMultiMap
- Since:
- 1.3
-