public class DictionaryComponentSortUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DictionaryComponentSortUtil.SortableProperty |
| Constructor and Description |
|---|
DictionaryComponentSortUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sort(java.util.List<? extends DictionaryComponent> list, DictionaryComponentSortUtil.SortableProperty prop)
Sort the given list of DictionaryComponents using the specified property
|
static void |
sort(java.util.List<? extends DictionaryComponent> list, DictionaryComponentSortUtil.SortableProperty prop, boolean ascending)
Sort the given list of DictionaryComponents using the specified property and sort order
|
public static void sort(java.util.List<? extends DictionaryComponent> list, DictionaryComponentSortUtil.SortableProperty prop)
list - List to be sortedprop - Property by which it has to be sortedpublic static void sort(java.util.List<? extends DictionaryComponent> list, DictionaryComponentSortUtil.SortableProperty prop, boolean ascending)
list - List to be sortedprop - Property by which it has to be sortedascending - Boolean value to sort in ascending order or not