private abstract static class DenseImmutableTable.ImmutableArrayMap<K,V> extends ImmutableMap.IteratorBasedImmutableMap<K,V>
ImmutableMap.Builder<K,V>, ImmutableMap.IteratorBasedImmutableMap<K,V>, ImmutableMap.SerializedForm<K,V>
Modifier and Type | Field and Description |
---|---|
private int |
size |
EMPTY_ENTRY_ARRAY
Constructor and Description |
---|
ImmutableArrayMap(int size) |
Modifier and Type | Method and Description |
---|---|
(package private) ImmutableSet<K> |
createKeySet() |
(package private) UnmodifiableIterator<java.util.Map.Entry<K,V>> |
entryIterator() |
V |
get(java.lang.Object key) |
(package private) K |
getKey(int index) |
(package private) abstract V |
getValue(int keyIndex) |
private boolean |
isFull() |
(package private) abstract ImmutableMap<K,java.lang.Integer> |
keyToIndex() |
int |
size() |
createEntrySet, createValues, entrySpliterator
asMultimap, builder, builderWithExpectedSize, checkNoConflict, clear, compute, computeIfAbsent, computeIfPresent, conflictException, containsKey, containsValue, copyOf, copyOf, entryOf, entrySet, equals, 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
abstract ImmutableMap<K,java.lang.Integer> keyToIndex()
private boolean isFull()
K getKey(int index)
abstract V getValue(int keyIndex)
ImmutableSet<K> createKeySet()
createKeySet
in class ImmutableMap.IteratorBasedImmutableMap<K,V>
public int size()
public V get(java.lang.Object key)
UnmodifiableIterator<java.util.Map.Entry<K,V>> entryIterator()
entryIterator
in class ImmutableMap.IteratorBasedImmutableMap<K,V>