Class OperatorToMultimap.DefaultMultimapCollectionFactory<K,​V>

  • Type Parameters:
    K - the key type
    V - the value type
    All Implemented Interfaces:
    Func1<K,​java.util.Collection<V>>, Function
    Enclosing class:
    OperatorToMultimap<T,​K,​V>

    public static final class OperatorToMultimap.DefaultMultimapCollectionFactory<K,​V>
    extends java.lang.Object
    implements Func1<K,​java.util.Collection<V>>
    The default collection factory for a key in the multimap returning an ArrayList independent of the key.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<V> call​(K t1)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMultimapCollectionFactory

        public DefaultMultimapCollectionFactory()
    • Method Detail

      • call

        public java.util.Collection<V> call​(K t1)
        Specified by:
        call in interface Func1<K,​V>