Hi all,
I'm having an "assignment" in which one criterion is :
- Inserting data into an ordered sequential file without reading the entire file into RAM
I don't know how to this. Could you show me how to write methods/API/code in Java, anything is fine with me.
Just to add some details, the files are created using RandomAccessFile, for example:
cD = new RandomAccessFile("customer.txt","rw");
However, by inititalizing cD, I'm actually reading the entire file. So may be someone can show me how to access arbitary files without the need to actually read the entire file
Tks a lot :)