T
- the typepublic class CollectionIterableResult<T> extends AbstractSearchResult<T>
IterableResult
.Constructor and Description |
---|
CollectionIterableResult(int totalHits,
int offset,
Collection<T> result) |
Modifier and Type | Method and Description |
---|---|
int |
getSize() |
Iterator<T> |
iterator() |
getOffset, getTotalHits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public CollectionIterableResult(int totalHits, int offset, Collection<T> result)
totalHits
- the total number of possible results without offset or maximum results limitsoffset
- the index in the total number of possible search result where this extract startsresult
- the actual resultsCopyright © 2004–2021 XWiki. All rights reserved.