9 September 2003

09Sept2003

How toLowerCase and isLowerCase Interact: Not a Bug.

By carlfish on

This is not a bug. The Javadoc for the Character Class explains that the toLowerCase() method does not necessarily return a lower-case letter. It returns either a lower-case letter, or the original letter if it has no lower-case equivalent.