Package com.google.common.collect
Class ImmutableMap.IteratorBasedImmutableMap<K,V>
java.lang.Object
com.google.common.collect.ImmutableMap<K,V>
com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap<K,V>
- All Implemented Interfaces:
Serializable,Map<K,V>
- Direct Known Subclasses:
DenseImmutableTable.ImmutableArrayMap,ImmutableEnumMap,ImmutableMap.MapViewOfValuesAsSingletonSets
- Enclosing class:
ImmutableMap<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.ImmutableMap
ImmutableMap.Builder<K,V>, ImmutableMap.IteratorBasedImmutableMap<K, V>, ImmutableMap.SerializedForm<K, V> -
Field Summary
Fields inherited from class com.google.common.collect.ImmutableMap
EMPTY_ENTRY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ImmutableSet<Map.Entry<K, V>> (package private) ImmutableSet<K> (package private) ImmutableCollection<V> (package private) abstract UnmodifiableIterator<Map.Entry<K, V>> (package private) Spliterator<Map.Entry<K, V>> (package private) ObjectReturns a serializable form of this object.Methods inherited from class com.google.common.collect.ImmutableMap
asMultimap, builder, builderWithExpectedSize, checkNoConflict, clear, compute, computeIfAbsent, computeIfPresent, conflictException, containsKey, containsValue, copyOf, copyOf, entryOf, entrySet, equals, get, getOrDefault, hashCode, isEmpty, isHashCodeFast, isPartialView, keyIterator, keySet, keySpliterator, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, toImmutableMap, toImmutableMap, toString, values
-
Constructor Details
-
IteratorBasedImmutableMap
IteratorBasedImmutableMap()
-
-
Method Details
-
entryIterator
-
entrySpliterator
Spliterator<Map.Entry<K,V>> entrySpliterator() -
createKeySet
ImmutableSet<K> createKeySet()- Specified by:
createKeySetin classImmutableMap<K,V>
-
createEntrySet
ImmutableSet<Map.Entry<K,V>> createEntrySet()- Specified by:
createEntrySetin classImmutableMap<K,V>
-
createValues
ImmutableCollection<V> createValues()- Specified by:
createValuesin classImmutableMap<K,V>
-
writeReplace
Object writeReplace()Description copied from class:ImmutableMapReturns a serializable form of this object. Non-public subclasses should not override this method. Publicly-accessible subclasses must override this method and should return a subclass of SerializedForm whose readResolve() method returns objects of the subclass type.- Overrides:
writeReplacein classImmutableMap<K,V>
-