Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractSortedKeySortedSetMultimap<K,V>
Basic implementation of a
SortedSetMultimap with a sorted key set. |
(package private) class |
AbstractSortedSetMultimap<K,V>
Basic implementation of the
SortedSetMultimap interface. |
class |
ForwardingSortedSetMultimap<K,V>
A sorted set multimap which forwards all its method calls to another sorted set multimap.
|
private static class |
Multimaps.CustomSortedSetMultimap<K,V> |
private static class |
Multimaps.UnmodifiableSortedSetMultimap<K,V> |
private static class |
Synchronized.SynchronizedSortedSetMultimap<K,V> |
class |
TreeMultimap<K,V>
Implementation of
Multimap whose keys and values are ordered by their natural ordering or
by supplied comparators. |
Modifier and Type | Method and Description |
---|---|
abstract <K extends K0,V extends V0> |
MultimapBuilder.SortedSetMultimapBuilder.build() |
<K extends K0,V extends V0> |
MultimapBuilder.SortedSetMultimapBuilder.build(Multimap<? extends K,? extends V> multimap) |
(package private) SortedSetMultimap<K,V> |
Synchronized.SynchronizedSortedSetMultimap.delegate() |
SortedSetMultimap<K,V> |
Multimaps.UnmodifiableSortedSetMultimap.delegate() |
protected abstract SortedSetMultimap<K,V> |
ForwardingSortedSetMultimap.delegate() |
static <K,V> SortedSetMultimap<K,V> |
Multimaps.newSortedSetMultimap(java.util.Map<K,java.util.Collection<V>> map,
Supplier<? extends java.util.SortedSet<V>> factory)
Creates a new
SortedSetMultimap that uses the provided map and factory. |
(package private) static <K,V> SortedSetMultimap<K,V> |
Synchronized.sortedSetMultimap(SortedSetMultimap<K,V> multimap,
java.lang.Object mutex) |
static <K,V> SortedSetMultimap<K,V> |
Multimaps.synchronizedSortedSetMultimap(SortedSetMultimap<K,V> multimap)
Returns a synchronized (thread-safe)
SortedSetMultimap backed by the specified
multimap. |
static <K,V> SortedSetMultimap<K,V> |
Multimaps.unmodifiableSortedSetMultimap(SortedSetMultimap<K,V> delegate)
Returns an unmodifiable view of the specified
SortedSetMultimap . |
Modifier and Type | Method and Description |
---|---|
static <K,V> java.util.Map<K,java.util.SortedSet<V>> |
Multimaps.asMap(SortedSetMultimap<K,V> multimap)
Returns
multimap.asMap() , with its type corrected from Map<K, Collection<V>> to Map<K, SortedSet<V>> . |
(package private) static <K,V> SortedSetMultimap<K,V> |
Synchronized.sortedSetMultimap(SortedSetMultimap<K,V> multimap,
java.lang.Object mutex) |
static <K,V> SortedSetMultimap<K,V> |
Multimaps.synchronizedSortedSetMultimap(SortedSetMultimap<K,V> multimap)
Returns a synchronized (thread-safe)
SortedSetMultimap backed by the specified
multimap. |
static <K,V> SortedSetMultimap<K,V> |
Multimaps.unmodifiableSortedSetMultimap(SortedSetMultimap<K,V> delegate)
Returns an unmodifiable view of the specified
SortedSetMultimap . |
Constructor and Description |
---|
SynchronizedSortedSetMultimap(SortedSetMultimap<K,V> delegate,
java.lang.Object mutex) |
UnmodifiableSortedSetMultimap(SortedSetMultimap<K,V> delegate) |