|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwitter4j.FilterQuery
public final class FilterQuery
Field Summary | |
---|---|
private int |
count
|
private int[] |
follow
|
private double[][] |
locations
|
private java.lang.String[] |
track
|
Constructor Summary | |
---|---|
FilterQuery()
Creates a new FilterQuery |
|
FilterQuery(int[] follow)
Creates a new FilterQuery |
|
FilterQuery(int count,
int[] follow)
Creates a new FilterQuery |
|
FilterQuery(int count,
int[] follow,
java.lang.String[] track)
Creates a new FilterQuery |
|
FilterQuery(int count,
int[] follow,
java.lang.String[] track,
double[][] locations)
Creates a new FilterQuery |
Method Summary | |
---|---|
(package private) twitter4j.internal.http.HttpParameter[] |
asHttpParameterArray()
|
FilterQuery |
count(int count)
Sets count |
boolean |
equals(java.lang.Object o)
|
FilterQuery |
follow(int[] follow)
Sets follow |
int |
hashCode()
|
FilterQuery |
locations(double[][] locations)
Sets locations |
private java.lang.String |
toFollowString(int[] follows)
|
private java.lang.String |
toLocationsString(double[][] keywords)
|
java.lang.String |
toString()
|
private java.lang.String |
toTrackString(java.lang.String[] keywords)
|
FilterQuery |
track(java.lang.String[] track)
Sets track |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int count
private int[] follow
private java.lang.String[] track
private double[][] locations
Constructor Detail |
---|
public FilterQuery()
public FilterQuery(int[] follow)
follow
- Specifies the users, by ID, to receive public tweets from.public FilterQuery(int count, int[] follow)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.follow
- Specifies the users, by ID, to receive public tweets from.public FilterQuery(int count, int[] follow, java.lang.String[] track)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.follow
- Specifies the users, by ID, to receive public tweets from.track
- Specifies keywords to track.public FilterQuery(int count, int[] follow, java.lang.String[] track, double[][] locations)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.follow
- Specifies the users, by ID, to receive public tweets from.track
- Specifies keywords to track.locations
- Specifies the locations to track. 2D arrayMethod Detail |
---|
public FilterQuery count(int count)
count
- Indicates the number of previous statuses to stream before transitioning to the live stream.
public FilterQuery follow(int[] follow)
follow
- Specifies the users, by ID, to receive public tweets from.
public FilterQuery track(java.lang.String[] track)
track
- Specifies keywords to track.
public FilterQuery locations(double[][] locations)
locations
- Specifies the locations to track. 2D array
twitter4j.internal.http.HttpParameter[] asHttpParameterArray()
private java.lang.String toLocationsString(double[][] keywords)
private java.lang.String toFollowString(int[] follows)
private java.lang.String toTrackString(java.lang.String[] keywords)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |