Matheus
08/28/2018, 6:42 PM==
is syntactic sugar for a fancy equals
with nullity checks.
Under the covers, it uses kotlin.jvm.internal.Intrinsics::areEqual
, which is defined as:
public static boolean areEqual(Object first, Object second) {
return first == null ? second == null : first.equals(second);
}