public abstract static class MultimapBuilder.SortedSetMultimapBuilder<K0,V0> extends MultimapBuilder.SetMultimapBuilder<K0,V0>
A specialization of MultimapBuilder
that generates SortedSetMultimap
instances.
MultimapBuilder.ListMultimapBuilder<K0,V0>, MultimapBuilder.MultimapBuilderWithKeys<K0>, MultimapBuilder.SetMultimapBuilder<K0,V0>, MultimapBuilder.SortedSetMultimapBuilder<K0,V0>
Modifier and Type | Method and Description |
---|---|
abstract <K extends K0,V extends V0> |
build()
Returns a new, empty
Multimap with the specified implementation. |
<K extends K0,V extends V0> |
build(Multimap<? extends K,? extends V> multimap)
Returns a
Multimap with the specified implementation, initialized with the entries of multimap . |
enumKeys, hashKeys, hashKeys, linkedHashKeys, linkedHashKeys, treeKeys, treeKeys
public abstract <K extends K0,V extends V0> SortedSetMultimap<K,V> build()
MultimapBuilder
Returns a new, empty Multimap
with the specified implementation.
build
in class MultimapBuilder.SetMultimapBuilder<K0,V0>
public <K extends K0,V extends V0> SortedSetMultimap<K,V> build(Multimap<? extends K,? extends V> multimap)
MultimapBuilder
Returns a Multimap
with the specified implementation, initialized with the entries of multimap
.
build
in class MultimapBuilder.SetMultimapBuilder<K0,V0>