(Rocks rocks, Table<Integer, Bean1> table, String expected)
| 304 | } |
| 305 | |
| 306 | private static void verifyData(Rocks rocks, Table<Integer, Bean1> table, String expected) throws Exception { |
| 307 | rocks.newProcedure(() -> { |
| 308 | var value = table.getOrAdd(1); |
| 309 | var current = value.toString(); |
| 310 | if (expected == null) |
| 311 | System.out.println(current); |
| 312 | else |
| 313 | SimpleAssert.areEqual(expected, current); |
| 314 | return 0L; |
| 315 | }).call(); |
| 316 | } |
| 317 | |
| 318 | private static void putAndEdit(Rocks rocks, Table<Integer, Bean1> table) throws Exception { |
| 319 | rocks.newProcedure(() -> { |