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:
java.io.Serializable
,java.util.Map<K,V>
- Direct Known Subclasses:
DenseImmutableTable.ImmutableArrayMap
,ImmutableEnumMap
,ImmutableMap.MapViewOfValuesAsSingletonSets
- Enclosing class:
- ImmutableMap<K,V>
abstract static class ImmutableMap.IteratorBasedImmutableMap<K,V> extends 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 Constructor Description IteratorBasedImmutableMap()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) ImmutableSet<java.util.Map.Entry<K,V>>
createEntrySet()
(package private) ImmutableSet<K>
createKeySet()
(package private) ImmutableCollection<V>
createValues()
(package private) abstract UnmodifiableIterator<java.util.Map.Entry<K,V>>
entryIterator()
(package private) java.util.Spliterator<java.util.Map.Entry<K,V>>
entrySpliterator()
-
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, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, toImmutableMap, toImmutableMap, toString, values, writeReplace
-
-
-
-
Method Detail
-
entryIterator
abstract UnmodifiableIterator<java.util.Map.Entry<K,V>> entryIterator()
-
createKeySet
ImmutableSet<K> createKeySet()
- Specified by:
createKeySet
in classImmutableMap<K,V>
-
createEntrySet
ImmutableSet<java.util.Map.Entry<K,V>> createEntrySet()
- Specified by:
createEntrySet
in classImmutableMap<K,V>
-
createValues
ImmutableCollection<V> createValues()
- Specified by:
createValues
in classImmutableMap<K,V>
-
-