private static class Multimaps.CustomSortedSetMultimap<K,V> extends AbstractSortedSetMultimap<K,V>
AbstractMapBasedMultimap.NavigableAsMap, AbstractMapBasedMultimap.NavigableKeySet, AbstractMapBasedMultimap.WrappedNavigableSetAbstractMultimap.Values| Modifier and Type | Field and Description |
|---|---|
(package private) Supplier<? extends java.util.SortedSet<V>> |
factory |
private static long |
serialVersionUID |
(package private) java.util.Comparator<? super V> |
valueComparator |
| Constructor and Description |
|---|
CustomSortedSetMultimap(java.util.Map<K,java.util.Collection<V>> map,
Supplier<? extends java.util.SortedSet<V>> factory) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.SortedSet<V> |
createCollection()
Creates the collection of values for a single key.
|
private void |
readObject(java.io.ObjectInputStream stream) |
java.util.Comparator<? super V> |
valueComparator()
Returns the comparator that orders the multimap values, with
null
indicating that natural ordering is used. |
private void |
writeObject(java.io.ObjectOutputStream stream) |
asMap, createUnmodifiableEmptyCollection, get, removeAll, replaceValues, valuesentries, equals, putbackingMap, clear, containsKey, createAsMap, createCollection, createKeySet, entryIterator, setMap, size, unmodifiableCollectionSubclass, valueIterator, wrapCollectioncontainsEntry, containsValue, createEntries, createKeys, createValues, hashCode, isEmpty, keys, keySet, putAll, putAll, remove, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitentries, equalsclear, containsEntry, containsKey, containsValue, hashCode, isEmpty, keys, keySet, put, putAll, putAll, remove, sizetransient java.util.Comparator<? super V> valueComparator
@GwtIncompatible private static final long serialVersionUID
protected java.util.SortedSet<V> createCollection()
AbstractMapBasedMultimapCollections with weak, soft, or phantom references are not supported.
Each call to createCollection should create a new instance.
The returned collection class determines whether duplicate key-value pairs are allowed.
createCollection in class AbstractSortedSetMultimap<K,V>public java.util.Comparator<? super V> valueComparator()
SortedSetMultimapnull
indicating that natural ordering is used.@GwtIncompatible private void writeObject(java.io.ObjectOutputStream stream) throws java.io.IOException
java.io.IOException@GwtIncompatible private void readObject(java.io.ObjectInputStream stream) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundException