Class ObjectUtils


  • public class ObjectUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T defaultIfNull​(T obj, T defaultIfNull)  
      static java.lang.ClassLoader systemClassLoaderIfNull​(java.lang.ClassLoader classLoader)  
      • Methods inherited from class java.lang.Object

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

      • ObjectUtils

        public ObjectUtils()
    • Method Detail

      • systemClassLoaderIfNull

        public static java.lang.ClassLoader systemClassLoaderIfNull​(@Nullable
                                                                    java.lang.ClassLoader classLoader)
      • defaultIfNull

        public static <T> T defaultIfNull​(@Nullable
                                          T obj,
                                          T defaultIfNull)