Exemplo n.º 1
0
 public boolean findFirstRecord() {
   if (getOffset() == 0 && getOffset() < getCeiling()) {
     return true;
   }
   ByteSearchPosition matchPos = datafile.matchPos(root.section);
   if (matchPos.found()) {
     datafile.movePast(matchPos);
     return getOffset() < getCeiling();
   }
   return false;
 }