public final class EqualsUtil extends Object
| Constructor and Description |
|---|
EqualsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areEqual(boolean aThis,
boolean aThat)
Are equal.
|
static boolean |
areEqual(char aThis,
char aThat)
Are equal.
|
static boolean |
areEqual(double aThis,
double aThat)
Are equal.
|
static boolean |
areEqual(float aThis,
float aThat)
Are equal.
|
static boolean |
areEqual(long aThis,
long aThat)
Are equal.
|
static boolean |
areEqual(Object aThis,
Object aThat)
Possibly-null object field.
|
static boolean |
areSameNullState(Object aThis,
Object aThat)
Is the null state of both objects equivalent.
|
static boolean |
hasChanged(Object target,
Object source)
Checks for changed.
|
public static boolean hasChanged(Object target, Object source)
target - the targetsource - the sourcepublic static boolean areEqual(boolean aThis,
boolean aThat)
aThis - the a thisaThat - the a thatpublic static boolean areEqual(char aThis,
char aThat)
aThis - the a thisaThat - the a thatpublic static boolean areEqual(long aThis,
long aThat)
aThis - the a thisaThat - the a thatpublic static boolean areEqual(float aThis,
float aThat)
aThis - the a thisaThat - the a thatpublic static boolean areEqual(double aThis,
double aThat)
aThis - the a thisaThat - the a thatpublic static boolean areEqual(Object aThis, Object aThat)
aThis - the a thisaThat - the a thatCopyright © 2021. All rights reserved.