public abstract static class MultimapBuilder.ListMultimapBuilder<K0,V0> extends MultimapBuilder<K0,V0>
MultimapBuilder
that generates ListMultimap
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> ListMultimap<K,V> build()
MultimapBuilder
Multimap
with the specified implementation.build
in class MultimapBuilder<K0,V0>
public <K extends K0,V extends V0> ListMultimap<K,V> build(Multimap<? extends K,? extends V> multimap)
MultimapBuilder
Multimap
with the specified implementation, initialized with the entries of
multimap
.build
in class MultimapBuilder<K0,V0>
Copyright © 2010–2020. All rights reserved.