Пример #1
0
 public void deleteLikedTweet(Tweet tweet)
 {
     if (this.likedTweets.Contains(tweet))
         this.likedTweets.Remove(tweet);
 }
Пример #2
0
 public Tweet(Tweet newTweet)
 {
     this.ID = newTweet.ID;
     this.author = newTweet.author;
     this.isMention = newTweet.isMention;
 }
Пример #3
0
 public bool isLike(Tweet tweet)
 {
     return likedTweets.Contains(tweet);
 }