639640641642643644645646647648649
FastIDSet itemIDs = entry.getValue(); synchronized (itemIDs) { LongPrimitiveIterator it = itemIDs.iterator(); while (it.hasNext()) { long itemID = it.nextLong(); itemCounts.increment(itemID, 1.0f); } } } }
8687888990919293949596
FastByIDFloatMap theRow = RbyRow.get(row); if (theRow == null) { theRow = new FastByIDFloatMap(); RbyRow.put(row, theRow); } theRow.increment(column, value); } /** * Efficiently removes an entry in two parallel, sparse matrices. *