]> iEval git - unical.git/blame_incremental - src/ro/ieval/unical/EventComparator.java
Add EventComparator
[unical.git] / src / ro / ieval / unical / EventComparator.java
... / ...
CommitLineData
1package ro.ieval.unical;
2
3import java.util.Comparator;
4
5public class EventComparator implements Comparator<Event> {
6
7 @Override
8 public int compare(Event lhs, Event rhs) {
9 // TODO Auto-generated method stub
10 if(lhs.dtstart<rhs.dtstart) return -1;
11 if(lhs.dtstart==rhs.dtstart) return 0;
12 return 1;
13 }
14
15}
This page took 0.018891 seconds and 4 git commands to generate.