Package com.google.common.collect
Class Tables.UnmodifiableRowSortedMap<R,C,V>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingTable<R,C,V>
com.google.common.collect.Tables.UnmodifiableTable<R,C,V>
com.google.common.collect.Tables.UnmodifiableRowSortedMap<R,C,V>
- All Implemented Interfaces:
RowSortedTable<R,,C, V> Table<R,,C, V> Serializable
- Enclosing class:
- Tables
static final class Tables.UnmodifiableRowSortedMap<R,C,V>
extends Tables.UnmodifiableTable<R,C,V>
implements RowSortedTable<R,C,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.collect.Table
Table.Cell<R,C, V> -
Field Summary
FieldsFields inherited from class com.google.common.collect.Tables.UnmodifiableTable
delegate -
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableRowSortedMap(RowSortedTable<R, ? extends C, ? extends V> delegate) -
Method Summary
Modifier and TypeMethodDescriptionprotected RowSortedTable<R,C, V> delegate()Returns the backing delegate instance that methods are forwarded to.Returns a set of row keys that have one or more values in the table.rowMap()Returns a view that associates each row key with the corresponding map from column keys to values.Methods inherited from class com.google.common.collect.Tables.UnmodifiableTable
cellSet, clear, column, columnKeySet, columnMap, put, putAll, remove, row, valuesMethods inherited from class com.google.common.collect.ForwardingTable
contains, containsColumn, containsRow, containsValue, equals, get, hashCode, isEmpty, sizeMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.common.collect.Table
cellSet, clear, column, columnKeySet, columnMap, contains, containsColumn, containsRow, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, row, size, values
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
UnmodifiableRowSortedMap
-
-
Method Details
-
delegate
Description copied from class:ForwardingObjectReturns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such asForwardingSet.delegate(). Concrete subclasses override this method to supply the instance being decorated.- Overrides:
delegatein classTables.UnmodifiableTable<R,C, V>
-
rowMap
Description copied from interface:TableReturns 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 supportput()orputAll(), orsetValue()on its entries.In contrast, the maps returned by
rowMap().get()have the same behavior as those returned byTable.row(R). Those maps may supportsetValue(),put(), andputAll(). -
rowKeySet
Description copied from interface:TableReturns a set of row keys that have one or more values in the table. Changes to the set will update the underlying table, and vice versa.
-