public final class ObjectUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(Object obj1,
Object obj2)
Returns
true if the objects are equal or both
null, and false otherwise. |
static int |
hashCode(Object obj)
Returns the hash code for the object, or
0 if the object is
null. |
public static boolean equals(Object obj1, Object obj2)
true if the objects are equal or both
null, and false otherwise.
Objects class
instead, but for now JFreeSVG is supporting Java 6 and above.obj1 - object 1 (null permitted).obj2 - object 2 (null permitted).public static int hashCode(Object obj)
0 if the object is
null.
Objects class
instead, but for now JFreeSVG is supporting Java 6 and above.obj - the object (null permitted).Copyright © 2016. All rights reserved.