Package com.google.common.collect
Class DenseImmutableTable.Row
- java.lang.Object
-
- com.google.common.collect.ImmutableMap<K,V>
-
- com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap<K,V>
-
- com.google.common.collect.DenseImmutableTable.ImmutableArrayMap<C,V>
-
- com.google.common.collect.DenseImmutableTable.Row
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map<C,V>
- Enclosing class:
- DenseImmutableTable<R,C,V>
private final class DenseImmutableTable.Row extends DenseImmutableTable.ImmutableArrayMap<C,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
-
-
Field Summary
Fields Modifier and Type Field Description private int
rowIndex
-
Fields inherited from class com.google.common.collect.ImmutableMap
EMPTY_ENTRY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description Row(int rowIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) V
getValue(int keyIndex)
(package private) boolean
isPartialView()
(package private) ImmutableMap<C,java.lang.Integer>
keyToIndex()
-
Methods inherited from class com.google.common.collect.DenseImmutableTable.ImmutableArrayMap
createKeySet, entryIterator, get, getKey, size
-
Methods inherited from class com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap
createEntrySet, createValues, 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, getOrDefault, hashCode, isEmpty, isHashCodeFast, 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
-
keyToIndex
ImmutableMap<C,java.lang.Integer> keyToIndex()
- Specified by:
keyToIndex
in classDenseImmutableTable.ImmutableArrayMap<C,V>
-
getValue
V getValue(int keyIndex)
- Specified by:
getValue
in classDenseImmutableTable.ImmutableArrayMap<C,V>
-
isPartialView
boolean isPartialView()
- Specified by:
isPartialView
in classImmutableMap<C,V>
-
-