Skip to content

Conversation

@NarekDW
Copy link

@NarekDW NarekDW commented Jul 24, 2017

No description provided.

null;
final Optional<Integer> optFirstCodePointOfFirstName = Stream.of(person)
.flatMapToInt(p -> p.getFirstName().codePoints())
.mapToObj(Integer::valueOf)

Choose a reason for hiding this comment

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

You could use .boxed() instead.

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