Package com.google.common.collect
Class MultimapBuilder.SortedSetMultimapBuilder<K0,V0>
- 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>
-
- Enclosing class:
- MultimapBuilder<K0,V0>
public abstract static class MultimapBuilder.SortedSetMultimapBuilder<K0,V0> extends MultimapBuilder.SetMultimapBuilder<K0,V0>
A specialization ofMultimapBuilder
that generatesSortedSetMultimap
instances.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.collect.MultimapBuilder
MultimapBuilder.ListMultimapBuilder<K0,V0>, MultimapBuilder.MultimapBuilderWithKeys<K0>, MultimapBuilder.SetMultimapBuilder<K0,V0>, MultimapBuilder.SortedSetMultimapBuilder<K0,V0>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract <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>build(Multimap<? extends K,? extends V> multimap)
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 Detail
-
build
public abstract <K extends K0,V extends V0> SortedSetMultimap<K,V> build()
Description copied from class:MultimapBuilder
Returns a new, emptyMultimap
with the specified implementation.- Specified by:
build
in classMultimapBuilder.SetMultimapBuilder<K0,V0>
-
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
.- Overrides:
build
in classMultimapBuilder.SetMultimapBuilder<K0,V0>
-
-