All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.cc.twittertools.search.TrecTopic Maven / Gradle / Ivy

The newest version!
package cc.twittertools.search;

import com.google.common.base.Preconditions;

public class TrecTopic {
  private String query;
  private String id;
  private long time;

  public TrecTopic(String id, String query, long time) {
    this.id = Preconditions.checkNotNull(id);
    this.query = Preconditions.checkNotNull(query);
    Preconditions.checkArgument(time > 0);
    this.time = time;
  }

  public String getId() {
    return id;
  }

  public String getQuery() {
    return query;
  }

  public long getQueryTweetTime() {
    return time;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy