Parent Directory | Revision Log
merge danish and english comments
1 | torben | 662 | package dk.thoerup.marketstats; |
2 | |||
3 | class CommentBean implements Comparable<CommentBean>{ | ||
4 | public String locale; | ||
5 | public String author; | ||
6 | public int rating; | ||
7 | public long time; | ||
8 | public String text; | ||
9 | |||
10 | @Override | ||
11 | public int compareTo(CommentBean arg0) { | ||
12 | Long l = new Long(time); | ||
13 | return l.compareTo(arg0.time) * -1; | ||
14 | } | ||
15 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |