T
- type of elements in the underlying collection or iteratorpublic class RangeIteratorImpl<T> extends Object implements javax.jcr.RangeIterator
Constructor and Description |
---|
RangeIteratorImpl(Collection<T> collection) |
RangeIteratorImpl(Iterator<T> iterator,
int size) |
RangeIteratorImpl(javax.jcr.RangeIterator rangeIterator) |
Modifier and Type | Method and Description |
---|---|
long |
getPosition() |
long |
getSize() |
boolean |
hasNext() |
T |
next() |
protected T |
nextElement() |
void |
remove() |
void |
skip(long skipNum) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public RangeIteratorImpl(Collection<T> collection)
public RangeIteratorImpl(javax.jcr.RangeIterator rangeIterator)
public void skip(long skipNum)
skip
in interface javax.jcr.RangeIterator
public long getSize()
getSize
in interface javax.jcr.RangeIterator
public long getPosition()
getPosition
in interface javax.jcr.RangeIterator
protected T nextElement()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.