Item - the representation typepublic final class Result<Item> extends Object
getResult(),getResultSize(),getFullSizeRequest().| Constructor and Description |
|---|
Result(List<Item> list,
long offset,
long fullSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getFullSize() |
long |
getOffset() |
List<Item> |
getResult() |
int |
getSize() |
static <Item> Result<Item> |
rangeResult(List<Item> result,
long offset,
long fullRequestSize)
Creates a new Result.
|
public int getSize()
public long getFullSize()
public long getOffset()
public static <Item> Result<Item> rangeResult(List<Item> result, long offset, long fullRequestSize)
Item - the item typeresult - the list of itemoffset - the offsetfullRequestSize - the number of item availableCopyright © 2013-2016–2016 SeedStack. All rights reserved.