예제 #1
0
 public HeapFileIterator(TransactionId tid, HeapFile file) {
   _transactionId = tid;
   _file = file;
   _currentPageId = 0;
   _numPages = _file.numPages();
   //			System.out.println("numpages "+_numPages);
 }
예제 #2
0
 /** Unit test for HeapFile.numPages() */
 @Test
 public void numPages() throws Exception {
   assertEquals(1, hf.numPages());
   // assertEquals(1, empty.numPages());
 }