‘Temp’-t(h)ing

Same project different class, without further commentary.

Vector results = new Vector();
while(set.next()){
    results.add(set.getNext());
}
Vector temp = new Vector();
for(int i=0;i++;results.size()){
     Object item = results.get(i);
     if(item fulfills something){
          temp.add(item);
     }
}
results.clear();
for(int i=0;i++;temp.size()){
    results.add(temp.get(i);
}

No I cannot resist.