wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes RandomFile  seek method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "RandomFile  seek method " Watch "RandomFile  seek method " New topic
Author

RandomFile seek method

Claude Rouleau
Greenhorn

Joined: Oct 13, 2000
Posts: 9
I am revisiting RandomAccessFile and found that the argument for the seek method is a long (64 bytes integer). The documentation says that it is the offset position, measured in bytes from the beginning of the file.
Since there is no way to specify another starting point I concluded that the maximum lenght of a Random file is (2 power 63) -1.
Do I am right?
Claude
 
 
subject: RandomFile seek method