Package com.google.common.collect
Class ArrayTable.ArrayMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
com.google.common.collect.Maps.IteratorBasedAbstractMap<K,V>
com.google.common.collect.ArrayTable.ArrayMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
- Direct Known Subclasses:
ArrayTable.Column
,ArrayTable.ColumnMap
,ArrayTable.Row
,ArrayTable.RowMap
- Enclosing class:
ArrayTable<R,
C, V>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) (package private) Spliterator
<Map.Entry<K, V>> getEntry
(int index) (package private) K
getKey
(int index) (package private) abstract String
(package private) abstract V
getValue
(int index) boolean
isEmpty()
keySet()
(package private) abstract V
int
size()
Methods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
entrySet, forEachEntry
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, putAll, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
keyIndex
-
-
Constructor Details
-
ArrayMap
-
-
Method Details
-
keySet
-
getKey
-
getKeyRole
-
getValue
-
setValue
-
size
public int size() -
isEmpty
public boolean isEmpty() -
getEntry
-
entryIterator
- Specified by:
entryIterator
in classMaps.IteratorBasedAbstractMap<K,
V>
-
entrySpliterator
Spliterator<Map.Entry<K,V>> entrySpliterator()- Overrides:
entrySpliterator
in classMaps.IteratorBasedAbstractMap<K,
V>
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - Overrides:
containsKey
in classAbstractMap<K,
V>
-
get
-
put
-
remove
-
clear
public void clear()
-