static final class Tables.UnmodifiableRowSortedMap<R,C,V> extends Tables.UnmodifiableTable<R,C,V> implements RowSortedTable<R,C,V>
Table.Cell<R,C,V>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
delegate
Constructor and Description |
---|
UnmodifiableRowSortedMap(RowSortedTable<R,? extends C,? extends V> delegate) |
Modifier and Type | Method and Description |
---|---|
protected RowSortedTable<R,C,V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
java.util.SortedSet<R> |
rowKeySet()
Returns a set of row keys that have one or more values in the table.
|
java.util.SortedMap<R,java.util.Map<C,V>> |
rowMap()
Returns a view that associates each row key with the corresponding map from column keys to
values.
|
cellSet, clear, column, columnKeySet, columnMap, put, putAll, remove, row, values
contains, containsColumn, containsRow, containsValue, equals, get, hashCode, isEmpty, size
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cellSet, clear, column, columnKeySet, columnMap, contains, containsColumn, containsRow, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, row, size, values
private static final long serialVersionUID
public UnmodifiableRowSortedMap(RowSortedTable<R,? extends C,? extends V> delegate)
protected RowSortedTable<R,C,V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply the
instance being decorated.delegate
in class Tables.UnmodifiableTable<R,C,V>
public java.util.SortedMap<R,java.util.Map<C,V>> rowMap()
Table
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()
.