Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RowSortedTable<R,C,V>
Interface that extends
Table and whose rows are sorted. |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingTable<R,C,V>
A table which forwards all its method calls to another table.
|
class |
HashBasedTable<R,C,V>
Implementation of
Table using hash tables. |
class |
TreeBasedTable<R,C,V>
Implementation of
Table whose row keys and column keys are ordered
by their natural ordering or by supplied comparators. |
Modifier and Type | Method and Description |
---|---|
protected abstract Table<R,C,V> |
ForwardingTable.delegate() |
static <R,C,V> Table<C,R,V> |
Tables.transpose(Table<R,C,V> table)
Creates a transposed view of a given table that flips its row and column
keys.
|
Modifier and Type | Method and Description |
---|---|
static <R,C,V> HashBasedTable<R,C,V> |
HashBasedTable.create(Table<? extends R,? extends C,? extends V> table)
Creates a
HashBasedTable with the same mappings as the specified
table. |
void |
ForwardingTable.putAll(Table<? extends R,? extends C,? extends V> table) |
void |
Table.putAll(Table<? extends R,? extends C,? extends V> table)
Copies all mappings from the specified table to this table.
|
static <R,C,V> Table<C,R,V> |
Tables.transpose(Table<R,C,V> table)
Creates a transposed view of a given table that flips its row and column
keys.
|
Copyright © 2010-2012. All Rights Reserved.