Skip to content

Chuvakhin Ivan, Optional#36

Open
ivchu wants to merge 1 commit intojava8-course:masterfrom
ivchu:OptionalHw
Open

Chuvakhin Ivan, Optional#36
ivchu wants to merge 1 commit intojava8-course:masterfrom
ivchu:OptionalHw

Conversation

@ivchu
Copy link

@ivchu ivchu commented Jun 26, 2017

No description provided.


final Optional<String> actual;
if (o1.isPresent()) {
if (isEmpty.test(o1.get())) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Optional.of(o1.get()) == o1

@@ -32,6 +34,101 @@ public void ifPresent() {
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Implement zipMap

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.

3 participants