Objects instead@Concealed(value="Use {@link java.util.Objects} instead.")
 @Deprecated
public final class ObjectUtils
extends java.lang.Object
| Constructor and Description | 
|---|
ObjectUtils()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
checkArg(boolean expression,
        java.lang.Object errorMessage)
Deprecated.  
Throws IAE if expression evaluates to false. 
 | 
static void | 
checkNotNull(java.lang.Object reference,
            java.lang.Object errorMessage)
Deprecated.  
Throws NPE if reference is null. 
 | 
static boolean | 
equal(java.lang.Object a,
     java.lang.Object b)
Deprecated.  
Returns true if both arguments are null or if both are not null and a.equals(b) 
 | 
static int | 
hashCode(java.lang.Object... objs)
Deprecated.  
Returns a hashcode of several arguments grouped together in an array. 
If there is only a single argument then its hashcode will be returned if the argument is not null.  | 
public static int hashCode(java.lang.Object... objs)
objs - one or more elementspublic static boolean equal(java.lang.Object a,
                            java.lang.Object b)
a - an Object referenceb - an Object referencepublic static void checkNotNull(java.lang.Object reference,
                                java.lang.Object errorMessage)
reference - an Object referenceerrorMessage - an additional message to be supplied to the NPE if the reference is null.public static void checkArg(boolean expression,
                            java.lang.Object errorMessage)
expression - any boolean expressionerrorMessage - an additional message to be supplied to the IAE if the reference is null.