Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SortedSetMultimap<K,V>
A
SetMultimap whose set of values for a given key are kept sorted;
that is, they comprise a SortedSet . |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingSetMultimap<K,V>
A set multimap which forwards all its method calls to another set multimap.
|
class |
ForwardingSortedSetMultimap<K,V>
A sorted set multimap which forwards all its method calls to another sorted
set multimap.
|
class |
HashMultimap<K,V>
Implementation of
Multimap using hash tables. |
class |
ImmutableSetMultimap<K,V>
An immutable
SetMultimap with reliable user-specified key and value
iteration order. |
class |
LinkedHashMultimap<K,V>
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 |
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 |
---|---|
static <K,V> SetMultimap<K,V> |
MapConstraints.constrainedSetMultimap(SetMultimap<K,V> multimap,
MapConstraint<? super K,? super V> constraint)
Returns a constrained view of the specified set multimap, using the
specified constraint.
|
protected abstract SetMultimap<K,V> |
ForwardingSetMultimap.delegate() |
static <K,V> SetMultimap<K,V> |
Multimaps.forMap(Map<K,V> map)
Returns a multimap view of the specified map.
|
static <K,V> SetMultimap<K,V> |
Multimaps.newSetMultimap(Map<K,Collection<V>> map,
Supplier<? extends Set<V>> factory)
Creates a new
SetMultimap that uses the provided map and factory. |
static <K,V> SetMultimap<K,V> |
Multimaps.synchronizedSetMultimap(SetMultimap<K,V> multimap)
Returns a synchronized (thread-safe)
SetMultimap backed by the
specified multimap. |
static <K,V> SetMultimap<K,V> |
Multimaps.unmodifiableSetMultimap(ImmutableSetMultimap<K,V> delegate)
Deprecated.
no need to use this
|
static <K,V> SetMultimap<K,V> |
Multimaps.unmodifiableSetMultimap(SetMultimap<K,V> delegate)
Returns an unmodifiable view of the specified
SetMultimap . |
Modifier and Type | Method and Description |
---|---|
static <K,V> SetMultimap<K,V> |
MapConstraints.constrainedSetMultimap(SetMultimap<K,V> multimap,
MapConstraint<? super K,? super V> constraint)
Returns a constrained view of the specified set multimap, using the
specified constraint.
|
static <K,V> SetMultimap<K,V> |
Multimaps.synchronizedSetMultimap(SetMultimap<K,V> multimap)
Returns a synchronized (thread-safe)
SetMultimap backed by the
specified multimap. |
static <K,V> SetMultimap<K,V> |
Multimaps.unmodifiableSetMultimap(SetMultimap<K,V> delegate)
Returns an unmodifiable view of the specified
SetMultimap . |
Copyright © 2010-2013. All Rights Reserved.