T - public class DtoListImpl<T extends Serializable> extends Object implements DtoList<T>
| Constructor and Description |
|---|
DtoListImpl(Collection<? extends T> list)
Constructs a data list that has a total field set to a size of the given
collection.
|
DtoListImpl(Collection<? extends T> list,
long total) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getData()
Returns a list of objects.
|
long |
getTotal()
Returns the total number of objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DtoListImpl(Collection<? extends T> list, long total)
list - total - public DtoListImpl(Collection<? extends T> list)
list - public List<T> getData()
DtoListgetData in interface DtoList<T extends Serializable>public long getTotal()
DtoListgetTotal in interface DtoList<T extends Serializable>Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.