Exemple #1
0
 private static void AssertBlockEquals(BlockEntry <MutableLong, MutableLong> expected, BlockEntry <MutableLong, MutableLong> actual)
 {
     assertEquals(0, _layout.Compare(expected.Key(), actual.Key()));
     assertEquals(0, _layout.Compare(expected.Value(), actual.Value()));
 }
Exemple #2
0
 internal static void Write <KEY, VALUE>(PageCursor pageCursor, Layout <KEY, VALUE> layout, BlockEntry <KEY, VALUE> entry)
 {
     Write(pageCursor, layout, entry.Key(), entry.Value());
 }