Class WrapperUtils


  • public class WrapperUtils
    extends Object
    Use WrapperUtils to wrap object to Wrapper
    • Constructor Detail

      • WrapperUtils

        public WrapperUtils()
    • Method Detail

      • needWrapper

        public static boolean needWrapper​(Class<?> clazz)
        Determine if the object needs wrap
        Parameters:
        clazz - object type
        Returns:
        need wrap
      • needWrapper

        public static boolean needWrapper​(Object obj)
        Determine if the object needs wrap
        Parameters:
        obj - object
        Returns:
        need wrap