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 TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) (package private) Spliterator<Map.Entry<K, V>> getEntry(int index) (package private) KgetKey(int index) (package private) abstract String(package private) abstract VgetValue(int index) booleanisEmpty()keySet()(package private) abstract Vintsize()Methods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
entrySet, forEachEntryMethods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, putAll, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
entryIteratorin classMaps.IteratorBasedAbstractMap<K,V>
-
entrySpliterator
Spliterator<Map.Entry<K,V>> entrySpliterator()- Overrides:
entrySpliteratorin classMaps.IteratorBasedAbstractMap<K,V>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
get
-
put
-
remove
-
clear
public void clear()
-