Integer.equals

Integer.equals

Class Overview | Class Members | This Package | All Packages

Syntax
public boolean equals( Object obj )
Parameters
obj
the object to compare with.
Returns
true if the objects are the same; false otherwise.
Description
Compares this object to the specified object. The result is true if and only if the argument is not null and is an Integer object that contains the same int value as this object.

Overrides
equals in class Object