Question 1 : in the instruction, above the method delete of DBMain interface, it says:" Deletes a record, making the record number and associated disk storage available for reuse." Does it mean I should do:
change the flag at the beginning of that record from 0x00 to 0xFF
(What about it's already 0xFF?)
Question 2 : there's a find(
String [] criteria) method, does it make sense to a deleted record? What about others (e.g. read, update etc), should they just throw a RecordNotFoundException if the specific record is marked deleted?
Question 3 : Assume there're three record: A B and C, the number is 0, 1 and 2, if B was deleted, then should I skip B and directly use C as the number 1 record, so there 're A (B) C number: 0 (1) 1 ???
Sorry for trouble you.