RegularImmutableTable optimized for sparse data.
| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final int[] | |
| private final ImmutableMap | |
| pack-priv static final ImmutableTable | |
| private final ImmutableMap |
| Access | Constructor and Description |
|---|---|
| pack-priv | SparseImmutableTable(ImmutableList<Table.
|
| Modifier and Type | Method and Description |
|---|---|
| public ImmutableMap | columnMap()
Implements abstract com. Implements com. |
| pack-priv ImmutableTable. | createSerializedForm()
Implements abstract com. |
| pack-priv Table. | |
| pack-priv V | |
| public ImmutableMap | rowMap()
Implements abstract com. Implements com. |
| public int | size()
Implements com. |
| cellColumnInRowIndices | back to summary |
|---|---|
private final int[] cellColumnInRowIndices
| |
| cellRowIndices | back to summary |
|---|---|
private final int[] cellRowIndices
| |
| columnMap | back to summary |
|---|---|
| private final ImmutableMap<C, ImmutableMap<R, V>> columnMap | |
| EMPTY | back to summary |
|---|---|
| pack-priv static final ImmutableTable<Object, Object, Object> EMPTY | |
| rowMap | back to summary |
|---|---|
| private final ImmutableMap<R, ImmutableMap<C, V>> rowMap | |
| SparseImmutableTable | back to summary |
|---|---|
| pack-priv SparseImmutableTable(ImmutableList<Table. | |
| columnMap | back to summary |
|---|---|
| public ImmutableMap Implements abstract com. Implements com. Doc from com. Returns a view that associates each column key with the corresponding map from row keys to
values. Changes to the returned map will update this table. The returned map does not support
In contrast, the maps returned by The value
| |
| createSerializedForm | back to summary |
|---|---|
| pack-priv ImmutableTable. Implements abstract com. Doc from com. Creates the common serialized form for this table.
| |
| getCell | back to summary |
|---|---|
| pack-priv Table. Implements abstract com.
| |
| getValue | back to summary |
|---|---|
| pack-priv V getValue(int index) Implements abstract com.
| |
| rowMap | back to summary |
|---|---|
| public ImmutableMap Implements abstract com. Implements com. Doc from com. Returns a view that associates each row key with the corresponding map from column keys to
values. Changes to the returned map will update this table. The returned map does not support
In contrast, the maps returned by The value
| |
| size | back to summary |
|---|---|
| public int size() Implements com. Doc from com. Returns the number of row key / column key / value mappings in the table.
| |