Java com.google.common.collect Table fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect Table fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect Table.

The text is from its open source code.

Subclass

com.google.common.collect.Table has subclasses.
Click this link to see all its subclasses.

Implementation

com.google.common.collect.Table has the following implementations.
Click this link to see all its implementation.

Method

Set>cellSet()
Returns a set of all row key / column key / value triplets.
voidclear()
Removes all mappings from the table.
Mapcolumn(C columnKey)
Returns a view of all mappings that have the given column key.
SetcolumnKeySet()
Returns a set of column keys that have one or more values in the table.
Map>columnMap()
Returns a view that associates each column key with the corresponding map from row keys to values.
booleancontains(@Nullable Object rowKey, @Nullable Object columnKey)
Returns true if the table contains a mapping with the specified row and column keys.
booleancontainsColumn(@Nullable Object columnKey)
Returns true if the table contains a mapping with the specified column.
booleancontainsRow(@Nullable Object rowKey)
Returns true if the table contains a mapping with the specified row key.
Vget(@Nullable Object rowKey, @Nullable Object columnKey)
Returns the value corresponding to the given row and column keys, or null if no such mapping exists.
booleanisEmpty()
Returns true if the table contains no mappings.
Vput(R rowKey, C columnKey, V value)
Associates the specified value with the specified keys.
voidputAll(Table table)
Copies all mappings from the specified table to this table.
Vremove(@Nullable Object rowKey, @Nullable Object columnKey)
Removes the mapping, if any, associated with the given keys.
Maprow(R rowKey)
Returns a view of all mappings that have the given row key.
SetrowKeySet()
Returns a set of row keys that have one or more values in the table.
Map>rowMap()
Returns a view that associates each row key with the corresponding map from column keys to values.
intsize()
Returns the number of row key / column key / value mappings in the table.
StringtoString()
Returns a string representation of the object.
Collectionvalues()
Returns a collection of all values, which may contain duplicates.