{@code Cursor cursor = ...; }while (cursor.advanceNextPosition()) long value = cursor.getLong(...); ... } }
410411412413414415416417418419420421422
boolean value; if (page != null) { assertEquals(page.getPositionCount(), 1); assertEquals(page.getChannelCount(), 1); BlockCursor cursor = page.getBlock(0).cursor(); assertTrue(cursor.advanceNextPosition()); assertTrue(cursor.getBoolean()); value = true; } else { value = false; }