class HashtagEntityJSONImpl extends java.lang.Object implements HashtagEntity
Modifier and Type | Field and Description |
---|---|
private int |
end |
private static long |
serialVersionUID |
private int |
start |
private java.lang.String |
text |
Constructor and Description |
---|
HashtagEntityJSONImpl(twitter4j.internal.org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getEnd()
Returns the index of the end character of the hashtag.
|
int |
getStart()
Returns the index of the start character of the hashtag.
|
java.lang.String |
getText()
Returns the text of the hashtag without #.
|
int |
hashCode() |
private void |
init(twitter4j.internal.org.json.JSONObject json) |
java.lang.String |
toString() |
private static final long serialVersionUID
private int start
private int end
private java.lang.String text
HashtagEntityJSONImpl(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
private void init(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
public java.lang.String getText()
getText
in interface HashtagEntity
public int getStart()
getStart
in interface HashtagEntity
public int getEnd()
getEnd
in interface HashtagEntity
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