public boolean equals(Tweet o) {
                boolean tweet_test=false;
                boolean stamp_test=false;
                boolean user_test=false;

                if (tweet != null && o.tweet != null)
                        tweet_test = tweet.equalsIgnoreCase(o.tweet);

                if (stamp != null && o.stamp != null) {
                        int res = stamp.compareTo(o.stamp);
                        if (res==0)
                                stamp_test=true;
                        else
                                stamp_test=false;
                }
                if (user!=null && o.user != null) {
                        String this_user = user.getName();
                        String other_user = o.user.getName();
                        user_test = this_user.equals(other_user);
                }

                return (tweet_test && stamp_test && user_test);
        }