我已经使用了表芭乐来实现我的3D哈希,我只是想知道如何迭代和取值。我现在在我的表中有以下内容..我只需要遍历它并输出行、列、值的值
A1000|B100|8
A104|B10|6发布于 2012-07-28 05:57:28
for (Table.Cell<String, String, Integer> cell : table.cellSet()) {
System.out.println(cell.getRowKey
+ "|"
+ cell.getColumnKey()
+ "|"
+ cell.getValue());
}The javadoc和链接的user guide article都会告诉您。
https://stackoverflow.com/questions/11696071
复制相似问题