310311312313314315316317318319320
// Discard the first 'toDiscard' live while (iter.hasNext()) { Cell c = iter.next(); counter.count(c, tester); if (counter.live() > toDiscard) { copy.addColumn(c); while (iter.hasNext()) copy.addColumn(iter.next()); }