TreeBagMultimap instead.@Deprecated public final class TreeBagMultimap<K,V> extends AbstractMutableMultimap<K,V,com.gs.collections.api.bag.sorted.MutableSortedBag<V>> implements com.gs.collections.api.multimap.sortedbag.MutableSortedBagMultimap<K,V>, java.io.Externalizable
map, totalSize| Constructor and Description |
|---|
TreeBagMultimap()
Deprecated.
|
TreeBagMultimap(java.util.Comparator<? super V> comparator)
Deprecated.
|
TreeBagMultimap(com.gs.collections.api.multimap.Multimap<? extends K,? extends V> multimap)
Deprecated.
|
TreeBagMultimap(com.gs.collections.api.tuple.Pair<K,V>... pairs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<? super V> |
comparator()
Deprecated.
|
protected com.gs.collections.api.bag.sorted.MutableSortedBag<V> |
createCollection()
Deprecated.
Creates the collection of values for a single key.
|
protected com.gs.collections.api.map.MutableMap<K,com.gs.collections.api.bag.sorted.MutableSortedBag<V>> |
createMap()
Deprecated.
|
protected com.gs.collections.api.map.MutableMap<K,com.gs.collections.api.bag.sorted.MutableSortedBag<V>> |
createMapWithKeyCount(int keyCount)
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(java.util.Comparator<? super V> comparator)
Deprecated.
|
static <K,V> TreeBagMultimap<K,V> |
newMultimap(com.gs.collections.api.multimap.Multimap<? extends K,? extends V> multimap)
Deprecated.
|
static <K,V> TreeBagMultimap<K,V> |
newMultimap(com.gs.collections.api.tuple.Pair<K,V>... pairs)
Deprecated.
|
void |
readExternal(java.io.ObjectInput in)
Deprecated.
|
com.gs.collections.api.multimap.sortedbag.ImmutableSortedBagMultimap<K,V> |
toImmutable()
Deprecated.
Returns an immutable copy of this Multimap if it is not already immutable.
|
com.gs.collections.api.multimap.sortedbag.MutableSortedBagMultimap<K,V> |
toMutable()
Deprecated.
Returns a mutable copy of this Multimap.
|
void |
writeExternal(java.io.ObjectOutput out)
Deprecated.
|
addToTotalSize, clear, clearTotalSize, decrementTotalSize, get, getMap, incrementTotalSize, isEmpty, put, putAll, putAll, putAllPairs, remove, removeAll, replaceValues, size, sizeDistinct, subtractFromTotalSize, toMapcontainsKey, containsKeyAndValue, containsValue, createCollectionBlock, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, toMap, toString, valuesViewclone, finalize, getClass, notify, notifyAll, wait, wait, waitget, 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(java.util.Comparator<? super V> comparator)
public TreeBagMultimap(com.gs.collections.api.multimap.Multimap<? extends K,? extends V> multimap)
public static <K,V> TreeBagMultimap<K,V> newMultimap()
public static <K,V> TreeBagMultimap<K,V> newMultimap(com.gs.collections.api.multimap.Multimap<? extends K,? extends V> multimap)
public static <K,V> TreeBagMultimap<K,V> newMultimap(java.util.Comparator<? super V> comparator)
public static <K,V> TreeBagMultimap<K,V> newMultimap(com.gs.collections.api.tuple.Pair<K,V>... pairs)
protected com.gs.collections.api.map.MutableMap<K,com.gs.collections.api.bag.sorted.MutableSortedBag<V>> createMap()
createMap in class AbstractMutableMultimap<K,V,com.gs.collections.api.bag.sorted.MutableSortedBag<V>>protected com.gs.collections.api.map.MutableMap<K,com.gs.collections.api.bag.sorted.MutableSortedBag<V>> createMapWithKeyCount(int keyCount)
createMapWithKeyCount in class AbstractMutableMultimap<K,V,com.gs.collections.api.bag.sorted.MutableSortedBag<V>>protected com.gs.collections.api.bag.sorted.MutableSortedBag<V> createCollection()
AbstractMultimapcreateCollection should create a new instance.
The returned collection class determines whether duplicate key-value
pairs are allowed.createCollection in class AbstractMultimap<K,V,com.gs.collections.api.bag.sorted.MutableSortedBag<V>>public TreeBagMultimap<K,V> newEmpty()
com.gs.collections.api.multimap.MultimapnewEmpty in interface com.gs.collections.api.multimap.bag.BagMultimap<K,V>newEmpty in interface com.gs.collections.api.multimap.Multimap<K,V>newEmpty in interface com.gs.collections.api.multimap.MutableMultimap<K,V>newEmpty in interface com.gs.collections.api.multimap.ordered.SortedIterableMultimap<K,V>newEmpty in interface com.gs.collections.api.multimap.sortedbag.MutableSortedBagMultimap<K,V>newEmpty in interface com.gs.collections.api.multimap.sortedbag.SortedBagMultimap<K,V>public java.util.Comparator<? super V> comparator()
public com.gs.collections.api.multimap.sortedbag.MutableSortedBagMultimap<K,V> toMutable()
com.gs.collections.api.multimap.Multimappublic com.gs.collections.api.multimap.sortedbag.ImmutableSortedBagMultimap<K,V> toImmutable()
com.gs.collections.api.multimap.MultimapSerializable if this Multimap is Serializable.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class AbstractMutableMultimap<K,V,com.gs.collections.api.bag.sorted.MutableSortedBag<V>>java.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class AbstractMutableMultimap<K,V,com.gs.collections.api.bag.sorted.MutableSortedBag<V>>java.io.IOExceptionjava.lang.ClassNotFoundException