Object/Class

com.sksamuel.exts.pagination

Page

Related Docs: class Page | package pagination

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DefaultPageSize: Int

    Permalink
  5. val FirstPage: Int

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

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

    Permalink

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

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

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

    Permalink

    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

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

    Permalink

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

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

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

    Permalink

    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.

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

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

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

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

    Permalink

    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.

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

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped