Retrieves a boolean value that indicates whether the specified object is equivalent to this one.
public boolean equals( Object obj )
obj
The object to compare to this one.
Returns true if the given object equals this object; otherwise, returns false.
For this method to return true, the object specified in the obj parameter must be a Dimensions object with the same settings as this one.