Esempio n. 1
0
 public void close() throws IOException {
   lexIdFile.close();
 }
Esempio n. 2
0
 public int getIndex(int termid) throws IOException {
   lexIdFile.seek(SIZE_OF_INT * (long) termid);
   return lexIdFile.readInt();
 }