Package | Description |
---|---|
org.springframework.beans.support |
Classes supporting the org.springframework.beans package,
such as utility classes for sorting and holding lists of beans.
|
Modifier and Type | Class and Description |
---|---|
class |
MutableSortDefinition
Mutable implementation of the
SortDefinition interface. |
Modifier and Type | Method and Description |
---|---|
protected SortDefinition |
PagedListHolder.copySortDefinition(SortDefinition sort)
Create a deep copy of the given sort definition,
for use as state holder to compare a modified sort definition against.
|
SortDefinition |
PagedListHolder.getSort()
Return the sort definition for this holder.
|
SortDefinition |
PropertyComparator.getSortDefinition()
Return the SortDefinition that this comparator uses.
|
Modifier and Type | Method and Description |
---|---|
protected SortDefinition |
PagedListHolder.copySortDefinition(SortDefinition sort)
Create a deep copy of the given sort definition,
for use as state holder to compare a modified sort definition against.
|
protected void |
PagedListHolder.doSort(List<E> source,
SortDefinition sort)
Actually perform sorting of the given source list, according to
the given sort definition.
|
void |
PagedListHolder.setSort(SortDefinition sort)
Set the sort definition for this holder.
|
static void |
PropertyComparator.sort(List<?> source,
SortDefinition sortDefinition)
Sort the given List according to the given sort definition.
|
static void |
PropertyComparator.sort(Object[] source,
SortDefinition sortDefinition)
Sort the given source according to the given sort definition.
|
Constructor and Description |
---|
MutableSortDefinition(SortDefinition source)
Copy constructor: create a new MutableSortDefinition
that mirrors the given sort definition.
|
PagedListHolder(List<E> source,
SortDefinition sort)
Create a new holder instance with the given source list.
|
PropertyComparator(SortDefinition sortDefinition)
Create a new PropertyComparator for the given SortDefinition.
|