code: private boolean matchesExpectedKey(int position, Page page)
      {
          for (int i = 0; i < indexKeyTypes.size(); i++) {
              if (!indexKeyTypes.get(i).equalTo(page.getBlock(i), position, indexKeyTuple.getBlock(i), 0)) {
                  return false;
              }
          }
          return true;
      }
docs: TODO: use the code generator here