public static enum TwitterStream.KMethod extends java.lang.Enum<TwitterStream.KMethod>
Enum Constant and Description |
---|
filter
Follow hashtags, users or regions
|
firehose
Everything! Requires special access privileges!
|
links
Requires special access privileges!
|
retweet
New-style retweets.
|
sample
Spritzer or Garden-hose: A sample of tweets, suitable for trend
analysis.
|
Modifier and Type | Method and Description |
---|---|
static TwitterStream.KMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwitterStream.KMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwitterStream.KMethod filter
public static final TwitterStream.KMethod firehose
public static final TwitterStream.KMethod links
public static final TwitterStream.KMethod retweet
public static final TwitterStream.KMethod sample
public static TwitterStream.KMethod[] values()
for (TwitterStream.KMethod c : TwitterStream.KMethod.values()) System.out.println(c);
public static TwitterStream.KMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null