private abstract static class DenseImmutableTable.ImmutableArrayMap<K,V> extends ImmutableMap<K,V>
ImmutableMap.Builder<K,V>, ImmutableMap.SerializedForm
Modifier and Type | Field and Description |
---|---|
private int |
size |
Constructor and Description |
---|
ImmutableArrayMap(int size) |
Modifier and Type | Method and Description |
---|---|
(package private) ImmutableSet<java.util.Map.Entry<K,V>> |
createEntrySet() |
(package private) ImmutableSet<K> |
createKeySet() |
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() |
asMultimap, builder, checkNoConflict, clear, containsKey, containsValue, copyOf, entryOf, entrySet, equals, hashCode, isEmpty, isPartialView, keySet, of, of, of, of, of, of, put, putAll, remove, toString, values, writeReplace
abstract ImmutableMap<K,java.lang.Integer> keyToIndex()
private boolean isFull()
K getKey(int index)
@Nullable abstract V getValue(int keyIndex)
ImmutableSet<K> createKeySet()
createKeySet
in class ImmutableMap<K,V>
public int size()
public V get(@Nullable java.lang.Object key)
ImmutableSet<java.util.Map.Entry<K,V>> createEntrySet()
createEntrySet
in class ImmutableMap<K,V>