Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.5.6, 1.6-beta-1
-
None
Description
The iterator method on String returns a list of strings (each of length 1). It would be useful to also have the ability to return an array of char. I suggest getChars for this. It would also be nice to have trivial mappings of some of the common Character static methods to be available on chars, e.g. Character.isLowerCase(c) could be made available via c.isLowerCase().