E
- public class QueryResult<E>
extends java.lang.Object
Constructor and Description |
---|
QueryResult(java.util.List<E> data,
long total)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<E> |
getData()
Part of the complete list of results corresponding to the paging criteria.
|
long |
getTotal()
Returns the total count of items in the result list.
|
public QueryResult(java.util.List<E> data, long total)
data
- total
- java.lang.NullPointerException
- if data
is nullpublic java.util.List<E> getData()
public long getTotal()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.