Class MangaList


  • public class MangaList
    extends java.lang.Object
    Paginated List of Manga
    • Constructor Summary

      Constructors 
      Constructor Description
      MangaList()  
    • Method Summary

      Modifier and Type Method Description
      int getEnd()  
      java.util.List<Manga> getMangas()  
      int getPage()  
      int getStart()  
      int getTotal()  
      void setEnd​(int end)  
      void setManga​(java.util.List<Manga> manga)  
      void setPage​(int page)  
      void setStart​(int start)  
      void setTotal​(int total)  
      • Methods inherited from class java.lang.Object

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

      • MangaList

        public MangaList()
    • Method Detail

      • getEnd

        public int getEnd()
        Returns:
        Index of last manga in list
        See Also:
        getMangas()
      • setEnd

        public void setEnd​(int end)
        Parameters:
        end - Set index of last manga in list
        See Also:
        getMangas()
      • getMangas

        public java.util.List<Manga> getMangas()
        Returns:
        List of Manga
      • setManga

        public void setManga​(java.util.List<Manga> manga)
        Parameters:
        manga - List of Manga
      • getPage

        public int getPage()
        Returns:
        get current page (during pagination)
      • setPage

        public void setPage​(int page)
        Parameters:
        page - set page number (for pagination)
      • getStart

        public int getStart()
        Returns:
        Index of first manga in list
        See Also:
        getMangas()
      • setStart

        public void setStart​(int start)
        Parameters:
        start - Set index of first manga in list
        See Also:
        getMangas()
      • getTotal

        public int getTotal()
        Returns:
        Total number of mangas in page
        See Also:
        getMangas()
      • setTotal

        public void setTotal​(int total)
        Parameters:
        total - Set total number of mangas in page
        See Also:
        getMangas()