private static int calcMaxPageEntrySize(JetFormat format){
  int pageDataSize=(format.PAGE_SIZE - (format.OFFSET_INDEX_ENTRY_MASK + format.SIZE_INDEX_ENTRY_MASK));
  int entryMaskSize=(format.SIZE_INDEX_ENTRY_MASK * 8);
  return Math.min(pageDataSize,entryMaskSize);
}

private static int calcMaxPageEntrySize ( JetFormat format ) { int pageDataSize = ( format . PAGE_SIZE - ( format . OFFSET_INDEX_ENTRY_MASK + format . SIZE_INDEX_ENTRY_MASK ) ) ; int entryMaskSize = ( format . SIZE_INDEX_ENTRY_MASK * 8 ) ; return Math . min ( pageDataSize , entryMaskSize ) ; }
returns the maximum amount of entry data which can be encoded on any index page .
