Compares this String
to another String
, ignoring case
considerations. Two strings are considered equal ignoring case if they
are of the same length and corresponding characters in the two strings
are equal ignoring case.
Two characters c1
and c2
are considered the same
ignoring case if at least one of the following is true:
==
operator)
java.lang.Character.toUpperCase(char)
to each character
produces the same result
java.lang.Character.toLowerCase(char)
to each character
produces the same result
anotherString
| The String to compare this String against |
true
if the argument is not null
and it
represents an equivalent String
ignoring case;
false
otherwise
equals(Object)
Diagram: String