twitter4j
Class IDs

java.lang.Object
  extended by twitter4j.TwitterResponse
      extended by twitter4j.IDs
All Implemented Interfaces:
java.io.Serializable

public class IDs
extends TwitterResponse

A data class representing array of numeric IDs.

Author:
Yusuke Yamamoto - yusuke at mac.com
See Also:
Serialized Form

Field Summary
private  int[] ids
           
private  long nextCursor
           
private  long previousCursor
           
private static java.lang.String[] ROOT_NODE_NAMES
           
private static long serialVersionUID
           
 
Constructor Summary
IDs(twitter4j.http.Response res)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int[] getIDs()
           
 long getNextCursor()
           
 long getPreviousCursor()
           
 int hashCode()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 java.lang.String toString()
           
 
Methods inherited from class twitter4j.TwitterResponse
ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getBoolean, getChildBoolean, getChildDate, getChildDate, getChildInt, getChildLong, getChildText, getInt, getLong, getRateLimitLimit, getRateLimitRemaining, getRateLimitReset, getString, getTextContent, isRootNodeNilClasses, parseDate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ids

private int[] ids

previousCursor

private long previousCursor

nextCursor

private long nextCursor

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

ROOT_NODE_NAMES

private static java.lang.String[] ROOT_NODE_NAMES
Constructor Detail

IDs

IDs(twitter4j.http.Response res)
throws TwitterException
Throws:
TwitterException
Method Detail

getIDs

public int[] getIDs()

hasPrevious

public boolean hasPrevious()
Since:
Twitter4J 2.0.10

getPreviousCursor

public long getPreviousCursor()
Since:
Twitter4J 2.0.10

hasNext

public boolean hasNext()
Since:
Twitter4J 2.0.10

getNextCursor

public long getNextCursor()
Since:
Twitter4J 2.0.10

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object