Class TypeUtils


  • class TypeUtils
    extends java.lang.Object
    Helper method for implementing Typed::getType
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <A,​B>
      B
      getConvertedType​(A sourceType, java.util.function.Supplier<SamplerConverter<? super A,​B>> converterSupplier)  
      • Methods inherited from class java.lang.Object

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

      • TypeUtils

        TypeUtils()
    • Method Detail

      • getConvertedType

        public static <A,​B> B getConvertedType​(A sourceType,
                                                     java.util.function.Supplier<SamplerConverter<? super A,​B>> converterSupplier)