Color.equals
Class Overview | Class Members |
This Package |
All Packages
public boolean equals( Object obj )
Parameters
- obj
- the object to compare with.
Returns
true if the objects are the same;
false otherwise.
Description
Determines whether another object is equal to this color.
The result is true if and only if the argument is not
null and is a Color object that has the same
red, green, and blue values as this object.
Overrides
equals in class Object