spring-framework / org.springframework.beans.support / PagedListHolder / <init>

<init>

PagedListHolder()

Create a new holder instance. You'll need to set a source list to be able to use the holder.

See Also
#setSource

PagedListHolder(source: MutableList<E>)

Create a new holder instance with the given source list, starting with a default sort definition (with "toggleAscendingOnProperty" activated).

Parameters

source - the source List

See Also
MutableSortDefinition#setToggleAscendingOnProperty

PagedListHolder(source: MutableList<E>, sort: SortDefinition)

Create a new holder instance with the given source list.

Parameters

source - the source List

sort - the SortDefinition to start with