T
- the typepublic abstract class AbstractSearchResult<T> extends Object implements IterableResult<T>
IterableResult
implementations.Constructor and Description |
---|
AbstractSearchResult(int totalHits,
int offset) |
Modifier and Type | Method and Description |
---|---|
int |
getOffset() |
int |
getTotalHits() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSize
forEach, iterator, spliterator
public AbstractSearchResult(int totalHits, int offset)
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 startspublic int getTotalHits()
getTotalHits
in interface IterableResult<T>
public int getOffset()
getOffset
in interface IterableResult<T>
Copyright © 2004–2021 XWiki. All rights reserved.