Class TypeMapper<R>


  • public class TypeMapper<R>
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      R apply​(java.lang.Object src)  
      static <R> TypeMapper<R> create()  
      <T> TypeMapper<R> with​(java.lang.Class<T> target, java.util.function.Function<T,​R> function)  
      • Methods inherited from class java.lang.Object

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

      • create

        public static <R> TypeMapper<R> create()
      • with

        public <T> TypeMapper<R> with​(java.lang.Class<T> target,
                                      java.util.function.Function<T,​R> function)
      • apply

        public R apply​(java.lang.Object src)