protected void overwriteBNodeEntries(List<BEntry> entries){
  byte[] zeros=new byte[bitMapSize];
  setBitMap(zeros);
  if (entries.size() > numEntries) {
    throw new BPlusTreeException("too many BEntry given to fit on page");
  }
  for (int i=0; i < entries.size(); i++) {
    writeEntry(i,entries.get(i));
  }
}

protected void overwriteBNodeEntries ( List < BEntry > entries ) { byte [ ] zeros = new byte [ bitMapSize ] ; setBitMap ( zeros ) ; if ( entries . size ( ) > numEntries ) { throw new BPlusTreeException ( "too many BEntry given to fit on page" ) ; } for ( int i = 0 ; i < entries . size ( ) ; i ++ ) { writeEntry ( i , entries . get ( i ) ) ; } }
clears all the entries of this node , and writes all the given entries into the node , starting from the first slot .
