/** {@inheritDoc} */ @Override protected T onNext() throws IgniteCheckedException { if (curIt == null) throw new NoSuchElementException(); T t = curIt.next(); if (!curIt.hasNext()) { curIt.close(); advance(); } return t; }
/** {@inheritDoc} */ @Override protected T onNext() throws IgniteCheckedException { if (curIt == null) throw new NoSuchElementException(); T t = curIt.next(); if (!curIt.hasNext()) { curIt.close(); advance(); } return t; }