Class Paging.Range

  • Enclosing class:
    Paging

    public static class Paging.Range
    extends java.lang.Object
    A paging where the beginning of the range of pages was already set.
    • Constructor Summary

      Constructors 
      Constructor Description
      Range​(Paging paging, int from)
      Instantiates a new range.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Paging to​(int to)
      Finishes the creation of a new Paging by setting the end of the range of pages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Range

        public Range​(Paging paging,
                     int from)
        Instantiates a new range.
        Parameters:
        paging - the paging
        from - the from
    • Method Detail

      • to

        public Paging to​(int to)
        Finishes the creation of a new Paging by setting the end of the range of pages.
        Parameters:
        to - the end of the range of pages
        Returns:
        the paging