use of com.b2international.collections.ints.IntIterator in project snow-owl by b2ihealthcare.
the class InternalSctIdMultimap method keySet.
@Override
public LongSet keySet() {
final LongSet keySet = PrimitiveSets.newLongOpenHashSetWithExpectedSize(internalIdMultimap.size());
for (final IntIterator itr = internalIdMultimap.keySet().iterator(); itr.hasNext(); ) /*empty*/
{
final int keyInternalId = itr.next();
final long keySctId = internalIdMap.getSctId(keyInternalId);
keySet.add(keySctId);
}
return keySet;
}
Aggregations