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.
anObject | the reference object with which to compare. |
true
if the given object represents a String
equivalent to this string, false
otherwise
compareTo(String), equalsIgnoreCase(String)
Diagram: String