Package | Description |
---|---|
org.andromda.utils.beans |
Modifier and Type | Field and Description |
---|---|
static SortCriteria.Ordering |
SortCriteria.Ordering.ASCENDING
Indicates sorting should be performed ascending.
|
static SortCriteria.Ordering |
SortCriteria.Ordering.DESCENDING
Indicates sorting should be performed descending.
|
Modifier and Type | Method and Description |
---|---|
SortCriteria.Ordering |
SortCriteria.getOrdering()
Gets the current ordering to be used.
|
Modifier and Type | Method and Description |
---|---|
void |
SortCriteria.setOrdering(SortCriteria.Ordering ordering)
Sets the ordering to use for sorting.
|
static <T> List<T> |
BeanSorter.sort(Collection<T> beans,
String sortBy,
SortCriteria.Ordering ordering)
Performs sorting of the collection by one property to
sort with more than one property see
BeanSorter.sort(java.util.Collection, SortCriteria[]) . |
static <T> List<T> |
BeanSorter.sort(Collection<T> beans,
String sortBy,
SortCriteria.Ordering ordering,
boolean nullsFirst)
Performs sorting of the collection by one property to
sort with more than one property see
BeanSorter.sort(java.util.Collection, SortCriteria[]) . |
Constructor and Description |
---|
SortCriteria(String sortBy,
SortCriteria.Ordering ordering)
Creates a new instance of this SortCriteria class.
|
SortCriteria(String sortBy,
SortCriteria.Ordering ordering,
boolean nullsFirst)
Creates a new instance of this SortCriteria class.
|
Copyright © 2003–2014 AndroMDA.org. All rights reserved.