Class EqualityUtils

java.lang.Object
org.damap.base.utils.EqualityUtils

public class EqualityUtils extends Object
  • Constructor Details

    • EqualityUtils

      public EqualityUtils()
  • Method Details

    • nullExclusiveEquals

      public static boolean nullExclusiveEquals(Object o1, Object o2)
      Checks the nullability of two objects and compares them for equality.
      Parameters:
      o1 - the first object
      o2 - the second object
      Returns:
      false if both are null. if they are equal return true, false otherwise