100101102103104105106107108109
public AccumulatorResultSet(int numberOfDocuments) { lock = new ReentrantLock(); scoresMap = new TIntDoubleHashMap(); occurrencesMap = new TIntShortHashMap(); resultSize = numberOfDocuments; exactResultSize = numberOfDocuments; }