Package org.hpccsystems.ws.client.utils
Class EqualsUtil
- java.lang.Object
-
- org.hpccsystems.ws.client.utils.EqualsUtil
-
public final class EqualsUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description EqualsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanareEqual(boolean aThis, boolean aThat)Are equal.static booleanareEqual(char aThis, char aThat)Are equal.static booleanareEqual(double aThis, double aThat)Are equal.static booleanareEqual(float aThis, float aThat)Are equal.static booleanareEqual(long aThis, long aThat)Are equal.static booleanareEqual(Object aThis, Object aThat)Possibly-null object field.static booleanareSameNullState(Object aThis, Object aThat)Is the null state of both objects equivalent.static booleanhasChanged(Object target, Object source)Checks for changed.
-
-
-
Method Detail
-
hasChanged
public static boolean hasChanged(Object target, Object source)
Checks for changed.- Parameters:
target- the targetsource- the source- Returns:
- true, if successful
-
areEqual
public static boolean areEqual(boolean aThis, boolean aThat)Are equal.- Parameters:
aThis- the a thisaThat- the a that- Returns:
- true, if successful
-
areEqual
public static boolean areEqual(char aThis, char aThat)Are equal.- Parameters:
aThis- the a thisaThat- the a that- Returns:
- true, if successful
-
areEqual
public static boolean areEqual(long aThis, long aThat)Are equal.- Parameters:
aThis- the a thisaThat- the a that- Returns:
- true, if successful
-
areEqual
public static boolean areEqual(float aThis, float aThat)Are equal.- Parameters:
aThis- the a thisaThat- the a that- Returns:
- true, if successful
-
areEqual
public static boolean areEqual(double aThis, double aThat)Are equal.- Parameters:
aThis- the a thisaThat- the a that- Returns:
- true, if successful
-
areEqual
public static boolean areEqual(Object aThis, Object aThat)
Possibly-null object field. Includes type-safe enumerations and collections, but does not include arrays. See class comment.- Parameters:
aThis- the a thisaThat- the a that- Returns:
- true, if successful
-
-