-
-
Notifications
You must be signed in to change notification settings - Fork 810
ICU-23152 Unicode helper APIs #3539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of nitpicks.
var iter = UCharacter.allScalarValues().iterator(); | ||
while (iter.hasNext()) { | ||
int c = iter.nextInt(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var iter = UCharacter.allScalarValues().iterator(); | |
while (iter.hasNext()) { | |
int c = iter.nextInt(); | |
for (int c : UCharacter.allScalarValues()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know that that convenience is now possible, but I still want to specifically test the int-iterator API.
var iter = UCharacter.allCodePoints().iterator(); | ||
while (iter.hasNext()) { | ||
int c = iter.nextInt(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var iter = UCharacter.allCodePoints().iterator(); | |
while (iter.hasNext()) { | |
int c = iter.nextInt(); | |
for (int c : UCharacter.allCodePoints()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Checklist
ALLOW_MANY_COMMITS=true