3233343536373839404142
for (int i : set1) { set2.add(i); } int[] set3 = set1.toIntArray(); Arrays.sort(set3); BitSet set4 = new BitSet(); for (int i : set1) {
4748495051525354555657
{ idSet.add(docid); } } } return idSet.toIntArray(); } @Override public DocIdSetIterator iterator() { return new DocIdSetIterator(){
4243444546474849505152
if (docid != DocIDMapper.NOT_FOUND) { idSet.add(docid); } } } return idSet.toIntArray(); } @Override public DocIdSetIterator iterator() { return new DocIdSetIterator() {
2930313233343536373839
IntSet set2 = new IntOpenHashSet(); for (int i : set1) { set2.add(i); } int[] set3 = set1.toIntArray(); Arrays.sort(set3); BitSet set4 = new BitSet(); for (int i : set1) { set4.set(i);