- <init>
Constructor for the Disk object
- close
Closes the raf.
- getFilePath
This is used for debugging.
- length
Returns the raf length.
- move
Moves the data stored from one position to another. The descriptor's position is
updated.
- readObject
This reads an object from the given starting position on the file. The first
four bytes of the recor
- reset
Sets the raf to empty.
- write
Writes the given byte array to the Disk at the specified position.
- writeObject
Serializes the object and write it out to the given position. TODO: make this
take a ded as well.