java.lang.Object
org.jfree.pdf.util.ObjectUtils
Some utility methods.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectUtils
private ObjectUtils()
-
-
Method Details
-
equals
Returnstrueif the objects are equal or bothnull, andfalseotherwise. In Java 7, we could use theObjectsclass instead.- Parameters:
obj1- object 1.obj2- object 2.- Returns:
- A boolean.
-
hashCode
Returns the hash code for the object, or 0 if the object isnull. In Java 7, we could use theObjectsclass instead.- Parameters:
obj- the object (nullpermitted).- Returns:
- The hash code or 0.
-