main.java.cc.twittertools.search.TrecTopic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of twitter-tools Show documentation
Show all versions of twitter-tools Show documentation
Twitter tools for researchers
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