/* * Returns a range of integers from low(inclusive) to high(exclusive) */ public class Range implements Runnable{ private int low, high; /* The iterator helper */ IteratorHelper ih = new IteratorHelper(this); public Range(int l, int h){ low = l; high = h; ih.start(); } public boolean hasNext() { return !ih.done(); } public Integer next(){ return ih.get(); } public void run() { for(Integer i = low; i