ICU-23152 Unicode helper APIs by markusicu · Pull Request #3539 · unicode-org/icu · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

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

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Conversation

markusicu
Copy link
Member

@markusicu markusicu commented Jul 1, 2025

Checklist

  • Required: Issue filed: ICU-23152
  • Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
  • Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
  • Issue accepted (done by Technical Committee after discussion)
  • Tests included, if applicable
  • API docs and/or User Guide docs changed or added, if applicable

ALLOW_MANY_COMMITS=true

@markusicu markusicu changed the title Unicode helper APIs ICU-23152 Unicode helper APIs Jul 1, 2025
@jira-pull-request-webhook

This comment was marked as outdated.

@jira-pull-request-webhook

This comment was marked as outdated.

@jira-pull-request-webhook

This comment was marked as outdated.

@jira-pull-request-webhook

This comment was marked as outdated.

Copy link
Contributor

@mihnita mihnita left a 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.

Comment on lines +113 to +115
var iter = UCharacter.allScalarValues().iterator();
while (iter.hasNext()) {
int c = iter.nextInt();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var iter = UCharacter.allScalarValues().iterator();
while (iter.hasNext()) {
int c = iter.nextInt();
for (int c : UCharacter.allScalarValues()) {

Copy link
Member Author

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.

Comment on lines +87 to +89
var iter = UCharacter.allCodePoints().iterator();
while (iter.hasNext()) {
int c = iter.nextInt();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var iter = UCharacter.allCodePoints().iterator();
while (iter.hasNext()) {
int c = iter.nextInt();
for (int c : UCharacter.allCodePoints()) {

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.