Interface MultiMap.CollectionFactory<V>

All Superinterfaces:
Serializable
All Known Implementing Classes:
MultiMap.ArrayListFactory, MultiMap.HashSetFactory, MultiMap.LinkedHashSetFactory, SortedMultiMap.SortedSetFactory
Enclosing class:
MultiMap<K,V>

public static interface MultiMap.CollectionFactory<V> extends Serializable
Factory for creating collection instances to be used as values in a MultiMap.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates collections that are used as values in a MultiMap
  • Method Details

    • createCollection

      Collection<V> createCollection()
      Creates collections that are used as values in a MultiMap