Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The String class has:
byte[] getBytes()
Groovy provides in StringGroovyMethods:
char[] getChars(final CharSequence self)
I propose adding to StringGroovyMethods:
int[] getCodePoints(final CharSequence self)
It is basically just a shortcut to ".codePoints().toArray()" but allows traditional Groovy conventions of using the "codePoints" property.
Attachments
Issue Links
- links to