| Revision 2,
526 bytes
checked in by jdalbey, 10 years ago
(diff) |
|
Initial Import of project files
|
| Line | |
|---|
| 1 | package tmcsim.simulationmanager.model; |
|---|
| 2 | |
|---|
| 3 | public class IncidentListTableItem implements Comparable<IncidentListTableItem> { |
|---|
| 4 | |
|---|
| 5 | public Integer logNumber; |
|---|
| 6 | public Long scheduleTime; |
|---|
| 7 | public String description; |
|---|
| 8 | |
|---|
| 9 | public IncidentListTableItem(Integer log, Long time, String desc) { |
|---|
| 10 | logNumber = log; |
|---|
| 11 | scheduleTime = time; |
|---|
| 12 | description = desc; |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| 15 | public int compareTo(IncidentListTableItem arg) { |
|---|
| 16 | return scheduleTime.compareTo(arg.scheduleTime); |
|---|
| 17 | } |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.