Class JavaUtils


  • public final class JavaUtils
    extends Object
    This class provides the util methods for java type and value conversion related.
    Since:
    June 2014
    • Method Detail

      • convertToWrapper

        public static final Class convertToWrapper​(Class type)
        Converts the primitive class to wrapper class.
        Parameters:
        type - the class to convert
        Returns:
        the wrapper class corresponding to give primitive class
      • convertToPrimitive

        public static final Class convertToPrimitive​(Class type)