diff options
Diffstat (limited to 'src/Chapter5/trends/DateInfo.java')
-rw-r--r-- | src/Chapter5/trends/DateInfo.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/Chapter5/trends/DateInfo.java b/src/Chapter5/trends/DateInfo.java deleted file mode 100644 index 209f4a3..0000000 --- a/src/Chapter5/trends/DateInfo.java +++ /dev/null @@ -1,29 +0,0 @@ -/* TweetTracker. Copyright (c) Arizona Board of Regents on behalf of Arizona State University - * @author shamanth - */ -package Chapter5.trends; - -import java.util.Date; - -public class DateInfo implements Comparable -{ - public Date d; - public int count; - - public int compareTo(Object o) { - DateInfo temp = (DateInfo) o; - if(temp.d.after(this.d)) - { - return -1; - } - else - if(temp.d.before(this.d)) - { - return 1; - } - else - { - return 0; - } - } -} |