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, wait
forEach, spliterator
public DtoListImpl(Collection<? extends T> list, long total)
list
- total
- public DtoListImpl(Collection<? extends T> list)
list
- public List<T> getData()
DtoList
getData
in interface DtoList<T extends Serializable>
public long getTotal()
DtoList
getTotal
in interface DtoList<T extends Serializable>
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.