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 |
---|---|
class |
ForwardingSortedSetMultimap<K,V>
A sorted set multimap which forwards all its method calls to another sorted
set multimap.
|
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) |
protected abstract SortedSetMultimap<K,V> |
ForwardingSortedSetMultimap.delegate() |
static <K,V> SortedSetMultimap<K,V> |
Multimaps.newSortedSetMultimap(Map<K,Collection<V>> map,
Supplier<? extends SortedSet<V>> factory)
Creates a new
SortedSetMultimap that uses the provided map and
factory. |
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> Map<K,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>> . |
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 . |
Copyright © 2010-2017. All Rights Reserved.