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, 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 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()
MultimapnewEmpty 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()
Multimappublic ImmutableSortedSetMultimap<K,V> toImmutable()
MultimapSerializable 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 ExternalizablewriteExternal in class AbstractMutableMultimap<K,V,MutableSortedSet<V>>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractMutableMultimap<K,V,MutableSortedSet<V>>IOExceptionClassNotFoundExceptionCopyright © 2004–2017. All rights reserved.