itemIDMapping.put(itemID, itemIndex);
}
return itemIndex;
}
private static FastByIDMap<Integer> createIDMapping(int size, LongPrimitiveIterator idIterator) {
<BUG>FastByIDMap<Integer> mapping = new FastByIDMap<Integer>(size);
int index = 0;</BUG>
while (idIterator.hasNext()) {
mapping.put(idIterator.nextLong(), index++);
}

itemIDMapping.put(itemID, itemIndex);
}
return itemIndex;
}
private static FastByIDMap<Integer> createIDMapping(int size, LongPrimitiveIterator idIterator) {
FastByIDMap<Integer> mapping = new FastByIDMap<>(size);
int index = 0;
while (idIterator.hasNext()) {
mapping.put(idIterator.nextLong(), index++);
}
