TreeBagMultimap
instead.@Deprecated public final class TreeBagMultimap<K,V> extends AbstractMutableMultimap<K,V,MutableSortedBag<V>> implements MutableSortedBagMultimap<K,V>, Externalizable
Constructor and Description |
---|
TreeBagMultimap()
Deprecated.
|
TreeBagMultimap(Comparator<? super V> comparator)
Deprecated.
|
TreeBagMultimap(Multimap<? extends K,? extends V> multimap)
Deprecated.
|
TreeBagMultimap(Pair<K,V>... pairs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Comparator<? super V> |
comparator()
Deprecated.
|
TreeBagMultimap<K,V> |
newEmpty()
Deprecated.
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
static <K,V> TreeBagMultimap<K,V> |
newMultimap()
Deprecated.
|
static <K,V> TreeBagMultimap<K,V> |
newMultimap(Comparator<? super V> comparator)
Deprecated.
|
static <K,V> TreeBagMultimap<K,V> |
newMultimap(Multimap<? extends K,? extends V> multimap)
Deprecated.
|
static <K,V> TreeBagMultimap<K,V> |
newMultimap(Pair<K,V>... pairs)
Deprecated.
|
void |
readExternal(ObjectInput in)
Deprecated.
|
ImmutableSortedBagMultimap<K,V> |
toImmutable()
Deprecated.
Returns an immutable copy of this Multimap if it is not already immutable.
|
MutableSortedBagMultimap<K,V> |
toMutable()
Deprecated.
Returns a mutable copy of this Multimap.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
|
clear, get, isEmpty, put, putAll, putAll, putAllPairs, remove, removeAll, replaceValues, size, sizeDistinct, toMap
containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, toMap, toString, valuesView
get, removeAll, replaceValues
clear, put, putAll, putAll, putAllPairs, remove
containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toMap, toMap, valuesView
public TreeBagMultimap()
public TreeBagMultimap(Comparator<? super V> comparator)
public static <K,V> TreeBagMultimap<K,V> newMultimap()
public static <K,V> TreeBagMultimap<K,V> newMultimap(Multimap<? extends K,? extends V> multimap)
public static <K,V> TreeBagMultimap<K,V> newMultimap(Comparator<? super V> comparator)
public static <K,V> TreeBagMultimap<K,V> newMultimap(Pair<K,V>... pairs)
public TreeBagMultimap<K,V> newEmpty()
Multimap
newEmpty
in interface BagMultimap<K,V>
newEmpty
in interface Multimap<K,V>
newEmpty
in interface MutableMultimap<K,V>
newEmpty
in interface SortedIterableMultimap<K,V>
newEmpty
in interface MutableSortedBagMultimap<K,V>
newEmpty
in interface SortedBagMultimap<K,V>
public Comparator<? super V> comparator()
comparator
in interface SortedIterableMultimap<K,V>
public MutableSortedBagMultimap<K,V> toMutable()
Multimap
public ImmutableSortedBagMultimap<K,V> toImmutable()
Multimap
Serializable
if this Multimap is Serializable
.toImmutable
in interface Multimap<K,V>
toImmutable
in interface SortedBagMultimap<K,V>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractMutableMultimap<K,V,MutableSortedBag<V>>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractMutableMultimap<K,V,MutableSortedBag<V>>
IOException
ClassNotFoundException
Copyright © 2004–2018. All rights reserved.