abstract class RegularImmutableTable<R,C,V> extends ImmutableTable<R,C,V>
ImmutableTable holding an arbitrary number of cells.| Modifier and Type | Class and Description |
|---|---|
private class |
RegularImmutableTable.CellSet |
private class |
RegularImmutableTable.Values |
ImmutableTable.Builder<R,C,V>, ImmutableTable.SerializedFormTable.Cell<R,C,V>| Constructor and Description |
|---|
RegularImmutableTable() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
checkNoDuplicate(R rowKey,
C columnKey,
V existingValue,
V newValue) |
(package private) ImmutableSet<Table.Cell<R,C,V>> |
createCellSet() |
(package private) ImmutableCollection<V> |
createValues() |
(package private) static <R,C,V> RegularImmutableTable<R,C,V> |
forCells(java.lang.Iterable<Table.Cell<R,C,V>> cells) |
(package private) static <R,C,V> RegularImmutableTable<R,C,V> |
forCells(java.util.List<Table.Cell<R,C,V>> cells,
java.util.Comparator<? super R> rowComparator,
java.util.Comparator<? super C> columnComparator) |
private static <R,C,V> RegularImmutableTable<R,C,V> |
forCellsInternal(java.lang.Iterable<Table.Cell<R,C,V>> cells,
java.util.Comparator<? super R> rowComparator,
java.util.Comparator<? super C> columnComparator) |
(package private) static <R,C,V> RegularImmutableTable<R,C,V> |
forOrderedComponents(ImmutableList<Table.Cell<R,C,V>> cellList,
ImmutableSet<R> rowSpace,
ImmutableSet<C> columnSpace)
A factory that chooses the most space-efficient representation of the table.
|
(package private) abstract Table.Cell<R,C,V> |
getCell(int iterationIndex) |
(package private) abstract V |
getValue(int iterationIndex) |
builder, cellIterator, cellOf, cellSet, cellSpliterator, clear, column, columnKeySet, columnMap, contains, containsValue, copyOf, copyOf, createSerializedForm, of, of, put, putAll, remove, row, rowKeySet, rowMap, toImmutableTable, toImmutableTable, values, valuesIterator, writeReplacecontainsColumn, containsRow, equals, get, hashCode, isEmpty, toString, valuesSpliteratorabstract Table.Cell<R,C,V> getCell(int iterationIndex)
final ImmutableSet<Table.Cell<R,C,V>> createCellSet()
createCellSet in class ImmutableTable<R,C,V>abstract V getValue(int iterationIndex)
final ImmutableCollection<V> createValues()
createValues in class ImmutableTable<R,C,V>static <R,C,V> RegularImmutableTable<R,C,V> forCells(java.util.List<Table.Cell<R,C,V>> cells, @CheckForNull java.util.Comparator<? super R> rowComparator, @CheckForNull java.util.Comparator<? super C> columnComparator)
static <R,C,V> RegularImmutableTable<R,C,V> forCells(java.lang.Iterable<Table.Cell<R,C,V>> cells)
private static <R,C,V> RegularImmutableTable<R,C,V> forCellsInternal(java.lang.Iterable<Table.Cell<R,C,V>> cells, @CheckForNull java.util.Comparator<? super R> rowComparator, @CheckForNull java.util.Comparator<? super C> columnComparator)
static <R,C,V> RegularImmutableTable<R,C,V> forOrderedComponents(ImmutableList<Table.Cell<R,C,V>> cellList, ImmutableSet<R> rowSpace, ImmutableSet<C> columnSpace)