パッケージ twitter4j.v1

クラス Paging

java.lang.Object
twitter4j.v1.Paging
すべての実装されたインタフェース:
Serializable

public final class Paging extends Object implements Serializable
Controls pagination.
関連項目:
  • フィールドの概要

    フィールド
    修飾子とタイプ
    フィールド
    説明
    final int
    count
    final long
    max id
    final int
    page
    final long
    since id
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    @NotNull Paging
    count(int count)
    creates a new Paging instance with the specified count
    boolean
     
    int
     
    @NotNull Paging
    maxId(long maxId)
    creates a new Paging instance with the specified maxId
    static @NotNull Paging
    ofCount(int count)
    creates a new Paging instance with the specified count
    static @NotNull Paging
    ofMaxId(long maxId)
    creates a new Paging instance with the specified maxId
    static @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 sinceId
     
    @NotNull Paging
    withPage(int page)
    creates a new Paging instance with the specified page

    クラスから継承されたメソッド java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • フィールド詳細

    • page

      public final int page
      page
    • count

      public final int count
      count
    • sinceId

      public final long sinceId
      since id
    • maxId

      public final long maxId
      max id
  • メソッドの詳細

    • ofPage

      @NotNull public static @NotNull Paging ofPage(int page)
      パラメータ:
      page - page
      戻り値:
      Paging instance
    • withPage

      @NotNull public @NotNull Paging withPage(int page)
      creates a new Paging instance with the specified page
      パラメータ:
      page - page
      戻り値:
      new Paging instance
    • ofCount

      @NotNull public static @NotNull Paging ofCount(int count)
      creates a new Paging instance with the specified count
      パラメータ:
      count - count
      戻り値:
      new Paging instance
    • count

      @NotNull public @NotNull Paging count(int count)
      creates a new Paging instance with the specified count
      パラメータ:
      count - count
      戻り値:
      new Paging instance
    • ofSinceId

      @NotNull public static @NotNull Paging ofSinceId(long sinceId)
      creates a new Paging instance with the specified sinceId
      パラメータ:
      sinceId - page
      戻り値:
      new Paging instance
    • sinceId

      @NotNull public @NotNull Paging sinceId(long sinceId)
      creates a new Paging instance with the specified sinceId
      パラメータ:
      sinceId - page
      戻り値:
      new Paging instance
    • ofMaxId

      @NotNull public static @NotNull Paging ofMaxId(long maxId)
      creates a new Paging instance with the specified maxId
      パラメータ:
      maxId - maxId
      戻り値:
      new Paging instance
    • maxId

      @NotNull public @NotNull Paging maxId(long maxId)
      creates a new Paging instance with the specified maxId
      パラメータ:
      maxId - maxId
      戻り値:
      new Paging instance
    • equals

      public boolean equals(Object o)
      オーバーライド:
      equals クラス内 Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 Object
    • toString

      public String toString()
      オーバーライド:
      toString クラス内 Object