int size = indices.size();
dataList = new ArrayList(size);
for (int i = 0; i < size; i++) {
int recno = indices.get(i);
Data data = new Data(DATA_DEFINITION);
data.addValue(recno + 1);
data.addValue(new Long(indexfile.getOffsetInBytes(recno)));
dataList.add(data);
}
} catch (IOException e) {
throw new RuntimeException(e);