class ContentSearchResults.SearchResultsIteratorWrapper extends Object implements SearchResultsIterator<SearchResult<A>>
Modifier and Type | Field and Description |
---|---|
private AmetysObjectIterator<A> |
_iterator |
Constructor and Description |
---|
SearchResultsIteratorWrapper(AmetysObjectIterator<A> iterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
SearchResult<A> |
next() |
void |
skip(long skipNum)
Skip a number of elements in the iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
private AmetysObjectIterator<A extends AmetysObject> _iterator
SearchResultsIteratorWrapper(AmetysObjectIterator<A> iterator)
public boolean hasNext()
hasNext
in interface Iterator<SearchResult<A extends AmetysObject>>
public SearchResult<A> next()
next
in interface Iterator<SearchResult<A extends AmetysObject>>
public void skip(long skipNum)
SearchResultsIterator
skip
in interface SearchResultsIterator<SearchResult<A extends AmetysObject>>
skipNum
- the non-negative number of elements to skip