public class DataPointComparator extends BaseComparator<DataPointVO>
| Modifier and Type | Field and Description |
|---|---|
private java.util.ResourceBundle |
bundle |
private static int |
SORT_CONFIG |
private static int |
SORT_DATA_TYPE |
private static int |
SORT_DS_NAME |
private static int |
SORT_ENABLED |
private static int |
SORT_NAME |
descending, sortType| Constructor and Description |
|---|
DataPointComparator(java.util.ResourceBundle bundle,
java.lang.String sortField,
boolean descending) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(DataPointVO dp1,
DataPointVO dp2) |
canSortprivate static final int SORT_NAME
private static final int SORT_DS_NAME
private static final int SORT_ENABLED
private static final int SORT_DATA_TYPE
private static final int SORT_CONFIG
private final java.util.ResourceBundle bundle
public DataPointComparator(java.util.ResourceBundle bundle,
java.lang.String sortField,
boolean descending)
public int compare(DataPointVO dp1, DataPointVO dp2)