Interface RowSortedTable<R extends @Nullable Object,C extends @Nullable Object,V extends @Nullable Object>
- All Superinterfaces:
Table<R,
C, V>
- All Known Implementing Classes:
TreeBasedTable
@GwtCompatible
public interface RowSortedTable<R extends @Nullable Object,C extends @Nullable Object,V extends @Nullable Object>
extends Table<R,C,V>
Interface that extends
Table
and whose rows are sorted.
The rowKeySet()
method returns a SortedSet
and the rowMap()
method
returns a SortedMap
, instead of the Set
and Map
specified by the Table
interface.
- Since:
- 8.0
- Author:
- Warren Dukes
-
Nested Class Summary
-
Method Summary
Methods 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
-
Method Details
-
rowKeySet
-
rowMap
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 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()
.This method returns a
SortedMap
, instead of theMap
specified in theTable
interface.
-