/** * Delegated to the underlying iterator. * * @param n number of elements to skip * @throws NoSuchElementException if skipped past the last element */ public void skip(long n) throws NoSuchElementException { iterator.skip(n); }
/** * Delegated to the underlying iterator. * * @param n number of elements to skip * @throws NoSuchElementException if skipped past the last element */ public void skip(long n) throws NoSuchElementException { iterator.skip(n); }
/** * Advances the underlying iterator. * * @param skipNum number of elements to skip * @see RangeIterator#skip(long) */ public void skip(long skipNum) { iterator.skip(skipNum); }
/** * Delegated to the underlying iterator. * * @param n number of elements to skip * @throws NoSuchElementException if skipped past the last element */ public void skip(long n) throws NoSuchElementException { iterator.skip(n); }
/** * Delegated to the underlying iterator. * * @param n number of elements to skip * @throws NoSuchElementException if skipped past the last element */ public void skip(long n) throws NoSuchElementException { iterator.skip(n); }
/** * Skip a number of <code>Row</code>s in this iterator. * * @param skipNum the non-negative number of <code>Row</code>s to skip * @throws NoSuchElementException if skipped past the last <code>Row</code> * in this iterator. * @see javax.jcr.RangeIterator#skip(long) */ public void skip(long skipNum) throws NoSuchElementException { rows.skip(skipNum); }
/** * Skip a number of <code>Row</code>s in this iterator. * * @param skipNum the non-negative number of <code>Row</code>s to skip * @throws NoSuchElementException if skipped past the last <code>Row</code> * in this iterator. * @see javax.jcr.RangeIterator#skip(long) */ public void skip(long skipNum) throws NoSuchElementException { rows.skip(skipNum); }
@Override public void skip(long skipNum) { delegate.skip(skipNum); }
/** * Skips the given number of elements. * * @param items number of elements to skip * @throws NoSuchElementException if skipped past the last element * @throws RemoteException on RMI errors */ @Override public void skip(long items) throws NoSuchElementException, RemoteException { try { iterator.skip(items); } catch (NoSuchElementException e) { throw new NoSuchElementException(e.getMessage()); } }
public void skip(long skipNum) { getDelegate().skip(skipNum); }
/** * Skip a number of <code>Node</code>s in this iterator. * * @param skipNum the non-negative number of <code>Node</code>s to skip * @throws NoSuchElementException if skipped past the last <code>Node</code> * in this iterator. * @see javax.jcr.NodeIterator#skip(long) */ public void skip(long skipNum) throws NoSuchElementException { if (skipNum < 0) { throw new IllegalArgumentException("skipNum must not be negative"); } if (skipNum == 0) { // do nothing } else { rows.skip(skipNum - 1); pos += skipNum - 1; fetchNext(); } }
/** * Skip a number of <code>Node</code>s in this iterator. * * @param skipNum the non-negative number of <code>Node</code>s to skip * @throws NoSuchElementException if skipped past the last <code>Node</code> * in this iterator. * @see javax.jcr.NodeIterator#skip(long) */ public void skip(long skipNum) throws NoSuchElementException { if (skipNum < 0) { throw new IllegalArgumentException("skipNum must not be negative"); } if (skipNum == 0) { // do nothing } else { rows.skip(skipNum - 1); pos += skipNum - 1; fetchNext(); } }