Class MultimapBuilder.SortedSetMultimapBuilder<K0 extends @Nullable Object,V0 extends @Nullable Object>
java.lang.Object
com.google.common.collect.MultimapBuilder<K0,V0>
com.google.common.collect.MultimapBuilder.SetMultimapBuilder<K0,V0>
com.google.common.collect.MultimapBuilder.SortedSetMultimapBuilder<K0,V0>
public abstract static class MultimapBuilder.SortedSetMultimapBuilder<K0 extends @Nullable Object,V0 extends @Nullable Object>
extends MultimapBuilder.SetMultimapBuilder<K0,V0>
A specialization of
MultimapBuilder
that generates SortedSetMultimap
instances.- Since:
- 16.0
- Author:
- Louis Wasserman
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.MultimapBuilder
MultimapBuilder.ListMultimapBuilder<K0 extends @Nullable Object,
V0 extends @Nullable Object>, MultimapBuilder.MultimapBuilderWithKeys<K0 extends @Nullable Object>, MultimapBuilder.SetMultimapBuilder<K0 extends @Nullable Object, V0 extends @Nullable Object>, MultimapBuilder.SortedSetMultimapBuilder<K0 extends @Nullable Object, V0 extends @Nullable Object> -
Method Summary
Modifier and TypeMethodDescriptionabstract <K extends K0,
V extends V0>
SortedSetMultimap<K, V> build()
Returns a new, emptyMultimap
with the specified implementation.<K extends K0,
V extends V0>
SortedSetMultimap<K, V> Returns aMultimap
with the specified implementation, initialized with the entries ofmultimap
.Methods inherited from class com.google.common.collect.MultimapBuilder
enumKeys, hashKeys, hashKeys, linkedHashKeys, linkedHashKeys, treeKeys, treeKeys
-
Method Details
-
build
Description copied from class:MultimapBuilder
Returns a new, emptyMultimap
with the specified implementation. -
build
public <K extends K0,V extends V0> SortedSetMultimap<K,V> build(Multimap<? extends K, ? extends V> multimap) Description copied from class:MultimapBuilder
Returns aMultimap
with the specified implementation, initialized with the entries ofmultimap
.
-