Пример #1
0
 public void close() throws IOException {
   lexIdFile.close();
 }
Пример #2
0
 public int getIndex(int termid) throws IOException {
   lexIdFile.seek(SIZE_OF_INT * (long) termid);
   return lexIdFile.readInt();
 }