String.equals
Class Overview | Class Members |
This Package |
All Packages
public boolean equals( Object anObject )
Parameters
- anObject
- the object to compare this String
against.
Returns
true if the String are equal;
false otherwise.
Description
Compares this string to the specified object.
The result is true if and only if the argument is not
null and is a String object that represents
the same sequence of characters as this object.
Overrides
equals in class Object
See Also
compareTo, equalsIgnoreCase