public class TableUtils extends Object
| Constructor and Description |
|---|
TableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <C,V> com.google.common.collect.Table<Directional<String>,C,V> |
sortTableByRowKeys(com.google.common.collect.Table<Directional<String>,C,V> table,
List<String> rowKeys)
Given a table, sort the rows such that the row keys appear in the same order
as the given list.
|
public static <C,V> com.google.common.collect.Table<Directional<String>,C,V> sortTableByRowKeys(com.google.common.collect.Table<Directional<String>,C,V> table, List<String> rowKeys)
table - the table to sortrowKeys - list of row keys to matchCopyright © 2022. All rights reserved.