|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Table | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of Table in com.google.common.collect |
---|
Subinterfaces of Table in com.google.common.collect | |
---|---|
interface |
RowSortedTable<R,C,V>
Interface that extends Table and whose rows are sorted. |
Classes in com.google.common.collect that implement Table | |
---|---|
class |
ArrayTable<R,C,V>
Fixed-size Table implementation backed by a two-dimensional array. |
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 |
ImmutableTable<R,C,V>
An immutable Table with reliable user-specified iteration order. |
class |
TreeBasedTable<R,C,V>
Implementation of Table whose row keys and column keys are ordered
by their natural ordering or by supplied comparators. |
Methods in com.google.common.collect that return Table | ||
---|---|---|
protected abstract Table<R,C,V> |
ForwardingTable.delegate()
|
|
static
|
Tables.newCustomTable(Map<R,Map<C,V>> backingMap,
Supplier<? extends Map<C,V>> factory)
Creates a table that uses the specified backing map and factory. |
|
static
|
Tables.transformValues(Table<R,C,V1> fromTable,
Function<? super V1,V2> function)
Returns a view of a table where each value is transformed by a function. |
|
static
|
Tables.transpose(Table<R,C,V> table)
Creates a transposed view of a given table that flips its row and column keys. |
|
static
|
Tables.unmodifiableTable(Table<? extends R,? extends C,? extends V> table)
Returns an unmodifiable view of the specified table. |
Methods in com.google.common.collect with parameters of type Table | ||
---|---|---|
static
|
ImmutableTable.copyOf(Table<? extends R,? extends C,? extends V> table)
Returns an immutable copy of the provided table. |
|
static
|
HashBasedTable.create(Table<? extends R,? extends C,? extends V> table)
Creates a HashBasedTable with the same mappings as the specified
table. |
|
static
|
ArrayTable.create(Table<R,C,V> table)
Creates an ArrayTable with the mappings in the provided table. |
|
void |
ArrayTable.putAll(Table<? extends R,? extends C,? extends V> table)
Copies all mappings from the specified table to this table. |
|
void |
ForwardingTable.putAll(Table<? extends R,? extends C,? extends V> table)
|
|
void |
ImmutableTable.putAll(Table<? extends R,? extends C,? extends V> table)
Guaranteed to throw an exception and leave the table unmodified. |
|
ImmutableTable.Builder<R,C,V> |
ImmutableTable.Builder.putAll(Table<? extends R,? extends C,? extends V> table)
Associates all of the given table's keys and values in the built table. |
|
void |
Table.putAll(Table<? extends R,? extends C,? extends V> table)
Copies all mappings from the specified table to this table. |
|
static
|
Tables.transformValues(Table<R,C,V1> fromTable,
Function<? super V1,V2> function)
Returns a view of a table where each value is transformed by a function. |
|
static
|
Tables.transpose(Table<R,C,V> table)
Creates a transposed view of a given table that flips its row and column keys. |
|
static
|
Tables.unmodifiableTable(Table<? extends R,? extends C,? extends V> table)
Returns an unmodifiable view of the specified table. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |