Class CommonUtils


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

      Constructors 
      Constructor Description
      CommonUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkEqualsContainNull​(java.lang.Object o1, java.lang.Object o2)
      judge whether two instances are equal, and allow null check
      • Methods inherited from class java.lang.Object

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

      • CommonUtils

        public CommonUtils()
    • Method Detail

      • checkEqualsContainNull

        public static boolean checkEqualsContainNull​(java.lang.Object o1,
                                                     java.lang.Object o2)
        judge whether two instances are equal, and allow null check
        Parameters:
        o1 - object1
        o2 - object2
        Returns:
        are they equal