@Override public Iterator<ENTITY_TYPE> iterator() { return new LazySegmentedIterator<CLIENT_TYPE, PARENT_TYPE, ENTITY_TYPE>(this.segmentGenerator, this.client, this.parentObject, this.policyFactory, this.opContext); } }
/** * Returns the next element. */ @Override public ENTITY_TYPE next() { if (this.hasNext()) { return this.currentSegmentIterator.next(); } else { throw new NoSuchElementException(); } }
/** * Returns the next element. */ @Override public ENTITY_TYPE next() { if (this.hasNext()) { return this.currentSegmentIterator.next(); } else { throw new NoSuchElementException(); } }
@Override public Iterator<ENTITY_TYPE> iterator() { return new LazySegmentedIterator<CLIENT_TYPE, PARENT_TYPE, ENTITY_TYPE>(this.segmentGenerator, this.client, this.parentObject, this.policyFactory, this.opContext); } }