[go: up one dir, main page]

Menu

[r9]: / cell / CellMap.java  Maximize  Restore  History

Download this file

17 lines (16 with data), 361 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
package cell;
import java.io.*;
abstract class CellMap extends CellLinkUp
{
int RECORD = 256;
void goTo(short row) throws IOException
{
for (int i = deletions.size()-1; i>= 0; i--)
if (((Short)deletions.elementAt(i)).shortValue() <= row) row++;
f.seek(2 * RECORD * (long)row);
}
CellMap(String fileName)
{
super(fileName);
}
}