public final class EqualsHelper extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
areEqual(Object x,
Object y)
Like the legacy
equals(java.lang.Object, java.lang.Object) method, but handles array-specific checks |
static boolean |
equals(Object x,
Object y) |
public static boolean areEqual(Object x, Object y)
equals(java.lang.Object, java.lang.Object)
method, but handles array-specific checksx
- One value to checky
- The other valuetrue
if the 2 values are equal; false
otherwise.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.