Class Mappers


  • public class Mappers
    extends java.lang.Object
    Since:
    29/12/17
    • Constructor Summary

      Constructors 
      Constructor Description
      Mappers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <E,​R>
      java.util.List<R>
      map​(java.util.List<E> list, java.util.function.Function<E,​R> mappingFunction)  
      static <E,​R>
      org.springframework.data.domain.Page<R>
      map​(org.springframework.data.domain.Page<E> page, org.springframework.data.domain.Pageable pageable, java.util.function.Function<E,​R> mappingFunction)  
      • Methods inherited from class java.lang.Object

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

      • Mappers

        public Mappers()
    • Method Detail

      • map

        public static <E,​R> org.springframework.data.domain.Page<R> map​(org.springframework.data.domain.Page<E> page,
                                                                              org.springframework.data.domain.Pageable pageable,
                                                                              java.util.function.Function<E,​R> mappingFunction)
      • map

        public static <E,​R> java.util.List<R> map​(java.util.List<E> list,
                                                        java.util.function.Function<E,​R> mappingFunction)