Skip to content

Traversable#3

Open
Kirvolque wants to merge 3 commits intoDenisVerkhoturov:masterfrom
Kirvolque:Traversable
Open

Traversable#3
Kirvolque wants to merge 3 commits intoDenisVerkhoturov:masterfrom
Kirvolque:Traversable

Conversation

@Kirvolque
Copy link
Copy Markdown

somehow it works

throw new UnsupportedOperationException();
if (predicate == null) throw new NullPointerException();
return consumer -> forEach(item -> {
if (predicate.test(item) == true){
Copy link
Copy Markdown
Owner

@DenisVerkhoturov DenisVerkhoturov Sep 2, 2017

Choose a reason for hiding this comment

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

Можно убрать сравнение с true.

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