public class ComparatorUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SORT_TYPE_NUMBER |
static int |
SORT_TYPE_TEXT |
static int |
SORT_TYPE_TEXT_NO_CASE |
Constructor and Description |
---|
ComparatorUtil() |
Modifier and Type | Method and Description |
---|---|
static Comparator |
toComparator(int sortType,
boolean orderAsc,
Locale l,
Comparator defaultValue) |
public static final int SORT_TYPE_TEXT
public static final int SORT_TYPE_TEXT_NO_CASE
public static final int SORT_TYPE_NUMBER
public ComparatorUtil()
public static Comparator toComparator(int sortType, boolean orderAsc, Locale l, Comparator defaultValue)
Copyright © 2015 Lucee