public class EventInstanceComparator extends BaseComparator<EventInstance>
| Modifier and Type | Field and Description |
|---|---|
private java.util.ResourceBundle |
bundle |
private static int |
SORT_ACTIVE_TIME |
private static int |
SORT_ALARM_LEVEL |
private static int |
SORT_ID |
private static int |
SORT_MESSAGE |
private static int |
SORT_RTN_TIME |
descending, sortType| Constructor and Description |
|---|
EventInstanceComparator(java.util.ResourceBundle bundle,
java.lang.String sortField,
boolean descending) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(EventInstance e1,
EventInstance e2) |
canSortprivate static final int SORT_ALARM_LEVEL
private static final int SORT_ACTIVE_TIME
private static final int SORT_MESSAGE
private static final int SORT_ID
private static final int SORT_RTN_TIME
private final java.util.ResourceBundle bundle
public EventInstanceComparator(java.util.ResourceBundle bundle,
java.lang.String sortField,
boolean descending)
public int compare(EventInstance e1, EventInstance e2)