Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
com.google.common.testing |
This package contains testing utilities.
|
Modifier and Type | Method and Description |
---|---|
static <R extends java.lang.Comparable,C extends java.lang.Comparable,V> |
TreeBasedTable.create()
Creates an empty
TreeBasedTable that uses the natural orderings of both row and column
keys. |
static <R,C,V> TreeBasedTable<R,C,V> |
TreeBasedTable.create(java.util.Comparator<? super R> rowComparator,
java.util.Comparator<? super C> columnComparator)
Creates an empty
TreeBasedTable that is ordered by the specified comparators. |
static <R,C,V> TreeBasedTable<R,C,V> |
TreeBasedTable.create(TreeBasedTable<R,C,? extends V> table)
Creates a
TreeBasedTable with the same mappings and sort order as the specified TreeBasedTable . |
Modifier and Type | Method and Description |
---|---|
static <R,C,V> TreeBasedTable<R,C,V> |
TreeBasedTable.create(TreeBasedTable<R,C,? extends V> table)
Creates a
TreeBasedTable with the same mappings and sort order as the specified TreeBasedTable . |
Modifier and Type | Method and Description |
---|---|
private static <R extends java.lang.Comparable,C extends java.lang.Comparable,V> |
FreshValueGenerator.generateTreeBasedTable(R row,
C column,
V value) |