Class EmptyTweetFilter

java.lang.Object
tweetoscope.tweetsFilter.TweetFilter
tweetoscope.tweetsFilter.EmptyTweetFilter
All Implemented Interfaces:
Flow.Publisher<com.twitter.clientlib.model.Tweet>, Flow.Subscriber<com.twitter.clientlib.model.Tweet>

public class EmptyTweetFilter extends TweetFilter
Empty Tweet filter: all Tweets are accepted
Author:
Virginie Galtier
  • Constructor Details

    • EmptyTweetFilter

      public EmptyTweetFilter()
  • Method Details

    • match

      protected boolean match(com.twitter.clientlib.model.Tweet tweet)
      Description copied from class: TweetFilter
      Tests the filter conditions
      Specified by:
      match in class TweetFilter
      Parameters:
      tweet - Tweet to examine
      Returns:
      true if the Tweet complies with the filter, false if it doesn't match the filter conditions