Java Object Compare areEquals(Object a, Object b)

Here you can find the source of areEquals(Object a, Object b)

Description

are Equals

License

Apache License

Declaration

public static boolean areEquals(Object a, Object b) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static boolean areEquals(Object a, Object b) {
        if (a == null) {
            return b == null;
        }//from  w w w  .  j  a  v  a  2s  . co m

        return a.equals(b);
    }
}

Related

  1. areEqual(T obj1, T obj2)
  2. areEqual(T obj1, V obj2)
  3. areEqualComparables(T object1, T object2)
  4. areEqualEvenIfBothNull(Object first, Object second)
  5. areEquals(final Object o1, final Object o2)
  6. areEquals(Object arg0, Object arg1)
  7. areEquals(Object... objs)
  8. areEqualsDirect(Object bean, Object other, Object... properties)
  9. equivalent(Object thisObj, Object thatObj)