Object o = this.set.get(id);
    public Object next() throws NoSuchElementException {        while (this.id < this.set.getMaxId()) {            ++this.id;            Object o = this.set.get(id);            if (o != null) return o;        }        throw new NoSuchElementException();    }