public final class ObjectUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(Object object1,
Object object2)
Deprecated.
use
Objects.equals(Object, Object) instead |
static int |
hasCode(Object object)
Deprecated.
use
Objects.hashCode(Object) instead |
@Deprecated public static boolean equals(Object object1, Object object2)
Objects.equals(Object, Object)
insteadobject1
- the first objectobject2
- the second object@Deprecated public static int hasCode(Object object)
Objects.hashCode(Object)
insteadobject
- the objectCopyright © 2004–2021 XWiki. All rights reserved.