Objects instead.@Deprecated public class ObjectUtils extends Object
| Constructor and Description |
|---|
ObjectUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(Collection<?> c1,
Collection<?> c2)
Deprecated.
equals.
|
static boolean |
equals(Object left,
Object right)
Deprecated.
|
static int |
hashCode(Object obj)
Deprecated.
use
Objects.hashCode(Object) or Objects.hash(Object...) instead. |
static boolean |
isShowByteDataAsHex()
Deprecated.
isShowByteDataAsHex.
|
static boolean |
objectEquals(Object o1,
Object o2)
Deprecated.
|
static void |
setShowByteDataAsHex(boolean showByteDataAsHex)
Deprecated.
Define that
#printFieldsDeep(Object) will use CryptoUtil.toHex(byte[]) to print
the byte arrays, instead of Object.toString(). |
static String |
toString(Object obj)
Deprecated.
toString.
|
public static boolean equals(Collection<?> c1, Collection<?> c2)
equals.
c1 - a Collection object.c2 - a Collection object.@Deprecated public static boolean equals(Object left, Object right)
Objects.equals(Object, Object).equals.
@Deprecated public static int hashCode(Object obj)
Objects.hashCode(Object) or Objects.hash(Object...) instead.hashCode.
obj - a Object object.public static boolean isShowByteDataAsHex()
isShowByteDataAsHex.
@Deprecated public static boolean objectEquals(Object o1, Object o2)
Objects.equals(Object, Object).o1 - an object or nullo2 - an object or nullpublic static void setShowByteDataAsHex(boolean showByteDataAsHex)
#printFieldsDeep(Object) will use CryptoUtil.toHex(byte[]) to print
the byte arrays, instead of Object.toString().showByteDataAsHex - the showByteDataAsHex to setCopyright © 2026. All rights reserved.