Method length()
Return type: long
Member of: java.io.RandomAccessFile
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 this.initialRandFileLength = randFile.length();
2 length = file.length();
3 return (int)rf.length() - startOffset;
4 if (randFile.getFilePointer() < randFile.length()) {
5 bb=fc.map( FileChannel.MapMode.READ_WRITE, 0, f.length());
6 max = length();
7 n.fileLoc = file.length();
8 log.seek (log.length()) ;
9 raf.seek(raf.length());
10 logFile.seek(logFile.length());
11 appendLongFile(gpidxfilename, gdata.length());
12 iFreePos = (int) rFile.length();
13 long length = mFile.length();
14 dirbno = dirRaf.length() == 0 ? 0 : -1;
15 while (intRelNbrFile.getFilePointer() < intRelNbrFile.length() - 1 & /* !entityBytes.equals(searchBytes) */ entityBytes[0] != searchBytes[0]) {
16 _size = length();
17 if (in.length() < 128) return;
18 if (file.length() > 0 && offset <= file.length()) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.