Package twitter4j.v1
Class Paging
java.lang.Object
twitter4j.v1.Paging
- All Implemented Interfaces:
Serializable
Controls pagination.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull Paging
count
(int count) creates a new Paging instance with the specified countboolean
int
hashCode()
@NotNull Paging
maxId
(long maxId) creates a new Paging instance with the specified maxIdstatic @NotNull Paging
ofCount
(int count) creates a new Paging instance with the specified countstatic @NotNull Paging
ofMaxId
(long maxId) creates a new Paging instance with the specified maxIdstatic @NotNull Paging
ofPage
(int page) static @NotNull Paging
ofSinceId
(long sinceId) creates a new Paging instance with the specified sinceId@NotNull Paging
sinceId
(long sinceId) creates a new Paging instance with the specified sinceIdtoString()
@NotNull Paging
withPage
(int page) creates a new Paging instance with the specified page
-
Field Details
-
page
public final int pagepage -
count
public final int countcount -
sinceId
public final long sinceIdsince id -
maxId
public final long maxIdmax id
-
-
Method Details
-
ofPage
- Parameters:
page
- page- Returns:
- Paging instance
-
withPage
creates a new Paging instance with the specified page- Parameters:
page
- page- Returns:
- new Paging instance
-
ofCount
creates a new Paging instance with the specified count- Parameters:
count
- count- Returns:
- new Paging instance
-
count
creates a new Paging instance with the specified count- Parameters:
count
- count- Returns:
- new Paging instance
-
ofSinceId
creates a new Paging instance with the specified sinceId- Parameters:
sinceId
- page- Returns:
- new Paging instance
-
sinceId
creates a new Paging instance with the specified sinceId- Parameters:
sinceId
- page- Returns:
- new Paging instance
-
ofMaxId
creates a new Paging instance with the specified maxId- Parameters:
maxId
- maxId- Returns:
- new Paging instance
-
maxId
creates a new Paging instance with the specified maxId- Parameters:
maxId
- maxId- Returns:
- new Paging instance
-
equals
-
hashCode
public int hashCode() -
toString
-