|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@GwtCompatible @Beta public interface RowSortedTable<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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.common.collect.Table |
|---|
Table.Cell<R,C,V> |
| Method Summary | |
|---|---|
SortedSet<R> |
rowKeySet()
Returns a set of row keys that have one or more values in the table. |
SortedMap<R,Map<C,V>> |
rowMap()
Returns a view that associates each row key with the corresponding map from column keys to values. |
| 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 Detail |
|---|
SortedSet<R> rowKeySet()
This method returns a SortedSet, instead of the Set
specified in the Table interface.
rowKeySet in interface Table<R,C,V>SortedMap<R,Map<C,V>> rowMap()
put() or putAll(), or
setValue() on its entries.
In contrast, the maps returned by rowMap().get() have the same
behavior as those returned by Table.row(R). Those maps may support setValue(), put(), and putAll().
This method returns a SortedMap, instead of the Map
specified in the Table interface.
rowMap in interface Table<R,C,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||