How do I get all columns per row in a HashBasedTable?
I initialized it this way:
Table<String, String, Integer> table = HashBasedTable.create();
I want to sum all the values mapped to each row.
If you call table.row(r), you'll get a Map from columns to values that you can call entrySet(), or values(), on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With