public class ObjectUtils
extends java.lang.Object
| Constructor and Description |
|---|
ObjectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNull(java.lang.Object obj)
Returns
true if the provided reference is null otherwise
returns false. |
static boolean |
nonNull(java.lang.Object obj)
Returns
true if the provided reference is null otherwise
returns false. |
public static boolean nonNull(java.lang.Object obj)
true if the provided reference is null otherwise
returns false.obj - a reference to be checked against nulltrue if the provided reference is null otherwise
false
apiNote: It will be replaced by Objects.nonNull after jdk1.8public static boolean isNull(java.lang.Object obj)
true if the provided reference is null otherwise
returns false.obj - a reference to be checked against nulltrue if the provided reference is null otherwise
false
apiNote: It will be replaced by Objects.nonNull after jdk1.8Copyright © 2021 Perforce Software. All Rights Reserved.