public class SchemaSelfInitializingCBOSorter extends CBOSorter
CBOSorter.BOComparator| Constructor and Description |
|---|
SchemaSelfInitializingCBOSorter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList |
getSortedList(java.util.Collection coll,
java.lang.String[] attrPaths,
java.lang.String[] directions,
java.util.Locale locale)
Returns the given
Collection sorted by the given attribute names in the given order. |
java.util.ArrayList |
getSortedList(java.util.Collection coll,
java.lang.String[] attrPaths,
java.lang.String[] directions,
java.util.Locale locale,
java.lang.Class c)
Returns the given
Collection sorted by the given attribute names in the given order. |
java.util.ArrayList |
getSortedList(java.util.Collection coll,
java.lang.String[] attrPaths,
java.lang.String[] directions,
java.util.Locale locale,
java.lang.Class c,
java.util.Comparator boc)
Returns the given
Collection sorted by the given attribute names in the given order. |
checkValidSortDir, getSortedList, getSortedList, getSortedListpublic java.util.ArrayList getSortedList(java.util.Collection coll,
java.lang.String[] attrPaths,
java.lang.String[] directions,
java.util.Locale locale,
java.lang.Class c,
java.util.Comparator boc)
CBOSorterCollection sorted by the given attribute names in the given order.
The given directions must have the same count as the given attribute names.getSortedList in class CBOSortercoll - The Collection to sort.attrPaths - The attribute names to use for sorting.directions - The sort directions for the given attribute names.locale - The locale to use for comparing.c - The entity class to get the attributes from for comparison.
If it is null, the class of the first non-null entry in the passed collection will be used.boc - A custom BOComparator to use. If it is null, a new BOComparator will be built for comparing.public java.util.ArrayList getSortedList(java.util.Collection coll,
java.lang.String[] attrPaths,
java.lang.String[] directions,
java.util.Locale locale,
java.lang.Class c)
CBOSorterCollection sorted by the given attribute names in the given order.
The given directions must have the same count as the given attribute names.
A new BOComparator will be built for comparing.
This method is simply a wrapper for CBOSorter.getSortedList(Collection, String[], String[], Locale,
Class, Comparator).getSortedList in class CBOSortercoll - The Collection to sort.attrPaths - The attribute names to use for sorting.directions - The sort directions for the given attribute names.locale - The locale to use for comparing.c - The entity class to get the attributes from for comparison.
If it is null, the class of the first non-null entry in the passed collection will be used.public java.util.ArrayList getSortedList(java.util.Collection coll,
java.lang.String[] attrPaths,
java.lang.String[] directions,
java.util.Locale locale)
CBOSorterCollection sorted by the given attribute names in the given order.
The given directions must have the same count as the given attribute names.
The class of the first non-null entry in the passed collection will be used to get the attributes from for comparison.
A new BOComparator will be built for comparing.
This method is simply a wrapper for CBOSorter.getSortedList(Collection, String[], String[], Locale,
Class, Comparator).getSortedList in class CBOSortercoll - The Collection to sort.attrPaths - The attribute names to use for sorting.directions - The sort directions for the given attribute names.locale - The locale to use for comparing.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.