Uses of Interface
dev.mccue.guava.collect.Multimap

  • Uses of Multimap in dev.mccue.guava.collect

    Subinterfaces of Multimap in dev.mccue.guava.collect
    Modifier and Type
    Interface
    Description
    interface 
    ListMultimap<K extends @Nullable Object,V extends @Nullable Object>
    A Multimap that can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key.
    interface 
    SetMultimap<K extends @Nullable Object,V extends @Nullable Object>
    A Multimap that cannot hold duplicate key-value pairs.
    interface 
    SortedSetMultimap<K extends @Nullable Object,V extends @Nullable Object>
    A SetMultimap whose set of values for a given key are kept sorted; that is, they comprise a SortedSet.
    Classes in dev.mccue.guava.collect that implement Multimap
    Modifier and Type
    Class
    Description
    final class 
    ArrayListMultimap<K extends @Nullable Object,V extends @Nullable Object>
    Implementation of Multimap that uses an ArrayList to store the values for a given key.
    class 
    ForwardingListMultimap<K extends @Nullable Object,V extends @Nullable Object>
    A list multimap which forwards all its method calls to another list multimap.
    class 
    ForwardingMultimap<K extends @Nullable Object,V extends @Nullable Object>
    A multimap which forwards all its method calls to another multimap.
    class 
    ForwardingSetMultimap<K extends @Nullable Object,V extends @Nullable Object>
    A set multimap which forwards all its method calls to another set multimap.
    class 
    ForwardingSortedSetMultimap<K extends @Nullable Object,V extends @Nullable Object>
    A sorted set multimap which forwards all its method calls to another sorted set multimap.
    final class 
    HashMultimap<K extends @Nullable Object,V extends @Nullable Object>
    Implementation of Multimap using hash tables.
    class 
    A ListMultimap whose contents will never change, with many other important properties detailed at ImmutableCollection.
    class 
    A Multimap whose contents will never change, with many other important properties detailed at ImmutableCollection.
    class 
    A SetMultimap whose contents will never change, with many other important properties detailed at ImmutableCollection.
    final class 
    LinkedHashMultimap<K extends @Nullable Object,V extends @Nullable Object>
    Implementation of Multimap that does not allow duplicate key-value entries and that returns collections whose iterators follow the ordering in which the data was added to the multimap.
    class 
    LinkedListMultimap<K extends @Nullable Object,V extends @Nullable Object>
    An implementation of ListMultimap that supports deterministic iteration order for both keys and values.
    class 
    TreeMultimap<K extends @Nullable Object,V extends @Nullable Object>
    Implementation of Multimap whose keys and values are ordered by their natural ordering or by supplied comparators.
    Methods in dev.mccue.guava.collect with type parameters of type Multimap
    Modifier and Type
    Method
    Description
    static <T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
    Collector<T,?,M>
    Multimaps.flatteningToMultimap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends Stream<? extends V>> valueFunction, Supplier<M> multimapSupplier)
    Returns a Collector accumulating entries into a Multimap generated from the specified supplier.
    static <K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
    M
    Multimaps.invertFrom(Multimap<? extends V,? extends K> source, M dest)
    Copies each key-value mapping in source into dest, with its key and value reversed.
    static <T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
    Collector<T,?,M>
    Multimaps.toMultimap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction, Supplier<M> multimapSupplier)
    Returns a Collector accumulating entries into a Multimap generated from the specified supplier.
    Methods in dev.mccue.guava.collect that return Multimap
    Modifier and Type
    Method
    Description
    abstract <K extends K0, V extends V0>
    Multimap<K,V>
    MultimapBuilder.build()
    Returns a new, empty Multimap with the specified implementation.
    <K extends K0, V extends V0>
    Multimap<K,V>
    MultimapBuilder.build(Multimap<? extends K,? extends V> multimap)
    Returns a Multimap with the specified implementation, initialized with the entries of multimap.
    protected abstract Multimap<K,V>
    ForwardingMultimap.delegate()
     
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.filterEntries(Multimap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super Map.Entry<K,V>> entryPredicate)
    Returns a multimap containing the mappings in unfiltered that satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.filterKeys(Multimap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super K> keyPredicate)
    Returns a multimap containing the mappings in unfiltered whose keys satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.filterValues(Multimap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super V> valuePredicate)
    Returns a multimap containing the mappings in unfiltered whose values satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.newMultimap(Map<K,Collection<V>> map, dev.mccue.guava.base.Supplier<? extends Collection<V>> factory)
    Creates a new Multimap backed by map, whose internal value collections are generated by factory.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.synchronizedMultimap(Multimap<K,V> multimap)
    Returns a synchronized (thread-safe) multimap backed by the specified multimap.
    static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
    Multimap<K,V2>
    Multimaps.transformEntries(Multimap<K,V1> fromMap, Maps.EntryTransformer<? super K,? super V1,V2> transformer)
    Returns a view of a multimap whose values are derived from the original multimap's entries.
    static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
    Multimap<K,V2>
    Multimaps.transformValues(Multimap<K,V1> fromMultimap, dev.mccue.guava.base.Function<? super V1,V2> function)
    Returns a view of a multimap where each value is transformed by a function.
    static <K, V> Multimap<K,V>
    Multimaps.unmodifiableMultimap(ImmutableMultimap<K,V> delegate)
    Deprecated.
    no need to use this
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.unmodifiableMultimap(Multimap<K,V> delegate)
    Returns an unmodifiable view of the specified multimap.
    Methods in dev.mccue.guava.collect with parameters of type Multimap
    Modifier and Type
    Method
    Description
    static <K extends @Nullable Object, V extends @Nullable Object>
    Map<K,Collection<V>>
    Multimaps.asMap(Multimap<K,V> multimap)
    <K extends K0, V extends V0>
    Multimap<K,V>
    MultimapBuilder.build(Multimap<? extends K,? extends V> multimap)
    Returns a Multimap with the specified implementation, initialized with the entries of multimap.
    <K extends K0, V extends V0>
    ListMultimap<K,V>
    MultimapBuilder.ListMultimapBuilder.build(Multimap<? extends K,? extends V> multimap)
     
    <K extends K0, V extends V0>
    SetMultimap<K,V>
    MultimapBuilder.SetMultimapBuilder.build(Multimap<? extends K,? extends V> multimap)
     
    <K extends K0, V extends V0>
    SortedSetMultimap<K,V>
    MultimapBuilder.SortedSetMultimapBuilder.build(Multimap<? extends K,? extends V> multimap)
     
    static <K, V> ImmutableListMultimap<K,V>
    ImmutableListMultimap.copyOf(Multimap<? extends K,? extends V> multimap)
    Returns an immutable multimap containing the same mappings as multimap.
    static <K, V> ImmutableMultimap<K,V>
    ImmutableMultimap.copyOf(Multimap<? extends K,? extends V> multimap)
    Returns an immutable multimap containing the same mappings as multimap, in the "key-grouped" iteration order described in the class documentation.
    static <K, V> ImmutableSetMultimap<K,V>
    ImmutableSetMultimap.copyOf(Multimap<? extends K,? extends V> multimap)
    Returns an immutable set multimap containing the same mappings as multimap.
    static <K extends @Nullable Object, V extends @Nullable Object>
    ArrayListMultimap<K,V>
    ArrayListMultimap.create(Multimap<? extends K,? extends V> multimap)
    Constructs an ArrayListMultimap with the same mappings as the specified multimap.
    static <K extends @Nullable Object, V extends @Nullable Object>
    HashMultimap<K,V>
    HashMultimap.create(Multimap<? extends K,? extends V> multimap)
    Constructs a HashMultimap with the same mappings as the specified multimap.
    static <K extends @Nullable Object, V extends @Nullable Object>
    LinkedHashMultimap<K,V>
    LinkedHashMultimap.create(Multimap<? extends K,? extends V> multimap)
    Constructs a LinkedHashMultimap with the same mappings as the specified multimap.
    static <K extends @Nullable Object, V extends @Nullable Object>
    LinkedListMultimap<K,V>
    LinkedListMultimap.create(Multimap<? extends K,? extends V> multimap)
    Constructs a LinkedListMultimap with the same mappings as the specified Multimap.
    static <K extends Comparable, V extends Comparable>
    TreeMultimap<K,V>
    TreeMultimap.create(Multimap<? extends K,? extends V> multimap)
    Constructs a TreeMultimap, ordered by the natural ordering of its keys and values, with the same mappings as the specified multimap.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.filterEntries(Multimap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super Map.Entry<K,V>> entryPredicate)
    Returns a multimap containing the mappings in unfiltered that satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.filterKeys(Multimap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super K> keyPredicate)
    Returns a multimap containing the mappings in unfiltered whose keys satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.filterValues(Multimap<K,V> unfiltered, dev.mccue.guava.base.Predicate<? super V> valuePredicate)
    Returns a multimap containing the mappings in unfiltered whose values satisfy a predicate.
    static <K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
    M
    Multimaps.invertFrom(Multimap<? extends V,? extends K> source, M dest)
    Copies each key-value mapping in source into dest, with its key and value reversed.
    boolean
    ForwardingMultimap.putAll(Multimap<? extends K,? extends V> multimap)
     
    ImmutableListMultimap.Builder.putAll(Multimap<? extends K,? extends V> multimap)
     
    ImmutableMultimap.Builder.putAll(Multimap<? extends K,? extends V> multimap)
    Stores another multimap's entries in the built multimap.
    final boolean
    ImmutableMultimap.putAll(Multimap<? extends K,? extends V> multimap)
    Deprecated.
    Unsupported operation.
    ImmutableSetMultimap.Builder.putAll(Multimap<? extends K,? extends V> multimap)
     
    boolean
    Multimap.putAll(Multimap<? extends K,? extends V> multimap)
    Stores all key-value pairs of multimap in this multimap, in the order returned by multimap.entries().
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.synchronizedMultimap(Multimap<K,V> multimap)
    Returns a synchronized (thread-safe) multimap backed by the specified multimap.
    static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
    Multimap<K,V2>
    Multimaps.transformEntries(Multimap<K,V1> fromMap, Maps.EntryTransformer<? super K,? super V1,V2> transformer)
    Returns a view of a multimap whose values are derived from the original multimap's entries.
    static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
    Multimap<K,V2>
    Multimaps.transformValues(Multimap<K,V1> fromMultimap, dev.mccue.guava.base.Function<? super V1,V2> function)
    Returns a view of a multimap where each value is transformed by a function.
    static <K extends @Nullable Object, V extends @Nullable Object>
    Multimap<K,V>
    Multimaps.unmodifiableMultimap(Multimap<K,V> delegate)
    Returns an unmodifiable view of the specified multimap.