Class PageableResult<E>

    • Constructor Detail

      • PageableResult

        public PageableResult()
    • Method Detail

      • contentPage

        public static <E> PageableResult<E> contentPage​(List<E> content,
                                                        org.springframework.data.domain.Page page)
      • page

        public static <E> PageableResult<E> page​(org.springframework.data.domain.Page<E> page)
      • hasNextPage

        public boolean hasNextPage()
      • hasPreviousPage

        public boolean hasPreviousPage()
      • toPage

        public org.springframework.data.domain.Page<E> toPage()
      • map

        public <U> PageableResult<U> map​(Function<? super E,​? extends U> converter)
        Returns a new PageableResult with the content of the current one mapped by the given Converter.
        Parameters:
        converter - must not be null.