6465666768697071727374
@Test public void testBitSetIteratorHPPC() throws Exception { final BitSetIterator bi = hppc.iterator(); int sum = 0; for (int i = bi.nextSetBit(); i >= 0; i = bi.nextSetBit()) { sum += i; } guard = sum; }
10911092109310941095109610971098109911001101
{ l = Lists.newArrayListWithCapacity((int) bitset.cardinality()); } final BitSetIterator i = bitset.iterator(); for (int d = i.nextSetBit(); d >= 0; d = i.nextSetBit()) { l.add(documents.get(d)); } return l; }