for (int w1 : words) { getLock(w1).lock(); TIntIntHashMap map = getMap(w1); for (int w2 : words) { if (isLess(w1, w2) map.increment(w2); } getLock(w1).unlock(); }
documentTopics.get(doc).increment(topic);
documentTopics.get(doc).increment(topic);
documentTopics.get(doc).increment(topic);
typeCounts[level].increment(type);
typeCounts[level].increment(type);
typeCounts[level].increment(type);