public final class TreeSortedSetMultimap<K,V> extends AbstractMutableMultimap<K,V,MutableSortedSet<V>> implements MutableSortedSetMultimap<K,V>, Externalizable
Constructor and Description |
---|
TreeSortedSetMultimap() |
TreeSortedSetMultimap(Comparator<? super V> comparator) |
TreeSortedSetMultimap(Multimap<? extends K,? extends V> multimap) |
TreeSortedSetMultimap(Pair<K,V>... pairs) |
Modifier and Type | Method and Description |
---|---|
Comparator<? super V> |
comparator() |
TreeSortedSetMultimap<K,V> |
newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
static <K,V> TreeSortedSetMultimap<K,V> |
newMultimap() |
static <K,V> TreeSortedSetMultimap<K,V> |
newMultimap(Comparator<? super V> comparator) |
static <K,V> TreeSortedSetMultimap<K,V> |
newMultimap(Multimap<? extends K,? extends V> multimap) |
static <K,V> TreeSortedSetMultimap<K,V> |
newMultimap(Pair<K,V>... pairs) |
void |
readExternal(ObjectInput in) |
ImmutableSortedSetMultimap<K,V> |
toImmutable()
Returns an immutable copy of this Multimap if it is not already immutable.
|
MutableSortedSetMultimap<K,V> |
toMutable()
Returns a mutable copy of this Multimap.
|
void |
writeExternal(ObjectOutput out) |
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 TreeSortedSetMultimap()
public TreeSortedSetMultimap(Comparator<? super V> comparator)
public static <K,V> TreeSortedSetMultimap<K,V> newMultimap()
public static <K,V> TreeSortedSetMultimap<K,V> newMultimap(Multimap<? extends K,? extends V> multimap)
public static <K,V> TreeSortedSetMultimap<K,V> newMultimap(Comparator<? super V> comparator)
public static <K,V> TreeSortedSetMultimap<K,V> newMultimap(Pair<K,V>... pairs)
public TreeSortedSetMultimap<K,V> newEmpty()
Multimap
newEmpty
in interface Multimap<K,V>
newEmpty
in interface MutableMultimap<K,V>
newEmpty
in interface SortedIterableMultimap<K,V>
newEmpty
in interface SetMultimap<K,V>
newEmpty
in interface MutableSortedSetMultimap<K,V>
newEmpty
in interface SortedSetMultimap<K,V>
public Comparator<? super V> comparator()
comparator
in interface SortedIterableMultimap<K,V>
public MutableSortedSetMultimap<K,V> toMutable()
Multimap
public ImmutableSortedSetMultimap<K,V> toImmutable()
Multimap
Serializable
if this Multimap is Serializable
.toImmutable
in interface Multimap<K,V>
toImmutable
in interface SortedSetMultimap<K,V>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractMutableMultimap<K,V,MutableSortedSet<V>>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractMutableMultimap<K,V,MutableSortedSet<V>>
IOException
ClassNotFoundException
Copyright © 2004–2017. All rights reserved.