public class LoadResult<T> extends Object
Constructor and Description |
---|
LoadResult(List<T> data,
int offset,
int totalLength) |
LoadResult(List<T> data,
int offset,
int totalLength,
boolean cacheData) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getData()
Return result data.
|
int |
getOffset()
Return actual offset of the result.
|
int |
getTotalLength()
Return total length of the data.
|
boolean |
isCacheData()
Should we cache the data, retrieved, it is worth noting that not all
DataView implementations will cache data. |
public LoadResult(List<T> data, int offset, int totalLength)
public LoadResult(List<T> data, int offset, int totalLength, boolean cacheData)
public int getOffset()
public int getTotalLength()
public boolean isCacheData()
DataView
implementations will cache data.Copyright © 2018. All rights reserved.