public class PersonList extends Object implements DtoList<Person>
Modifier | Constructor and Description |
---|---|
protected |
PersonList()
Creates new instance.
|
|
PersonList(Collection<Person> persons,
long total)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Person> |
getData()
Returns a list of persons.
|
long |
getTotal()
Returns the total number of persons.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected PersonList()
public PersonList(Collection<Person> persons, long total)
persons
- total
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.