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, toMapcontainsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, toMap, toString, valuesViewget, removeAll, replaceValuesclear, put, putAll, putAll, putAllPairs, removecontainsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toMap, toMap, valuesViewpublic 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()
MultimapnewEmpty 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()
Multimappublic ImmutableSortedBagMultimap<K,V> toImmutable()
MultimapSerializable 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 ExternalizablewriteExternal in class AbstractMutableMultimap<K,V,MutableSortedBag<V>>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractMutableMultimap<K,V,MutableSortedBag<V>>IOExceptionClassNotFoundExceptionCopyright © 2004–2017. All rights reserved.