com.sksamuel.pagination

Page

object Page extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Page
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val DefaultPageSize: Int

  7. val FirstPage: Int

  8. def apply[T](pageNumber: Int, ts: Iterable[T], totalResults: Int): Page

  9. def apply[T](pageNumber: Int, pageSize: Int, totalResults: Int): Page

    Creates a Page where the pageNumber, pageSize and totalResults are specified, and the numberOfResults is assumed to be a full page.

  10. def apply[T](ts: Iterable[T], totalResults: Int, pageSize: Int): Page

  11. def apply[T](ts: Iterable[T], totalResults: Int): Page

    Creates a Page that uses the given Iterable to determine the page size.

    Creates a Page that uses the given Iterable to determine the page size. The total results is taken from the other parameter.

    ts

    collection used to determine page size.

    totalResults

    total number of underlying objects in the resultset

  12. def apply[T](ts: Iterable[T]): Page

    Creates a one page resultset, assuming the collection of Ts given is the entire set of objects in a single page.

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def first(pageSize: Int, totalResults: Int): Page

    Creates a new Page where the pageNumber is set as the first page, the numberOfResults is taken from the pageSize, and the pageSize and totalResults are specified.

  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def last(pageSize: Int, totalResults: Int): Page

    Creates a new Page where the pageNumber is calcuated from the specified parameters, the numberOfResults is taken from the pageSize, and the pageSize and totalResults are specified.

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped