Skip to content

关于anyMatch的短路操作,应该发生在是第一个 true,而不是第一个 false。 #533

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

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

AlanMeng
Copy link
Contributor

@AlanMeng AlanMeng commented Aug 6, 2020

anyMatch的短路操作,描述错误。

原文:
anyMatch(Predicate): Returns true if any element of the stream produces true when provided to the supplied Predicate. This will short-circuit upon the first true.

@sjsdfg
Copy link
Collaborator

sjsdfg commented Aug 6, 2020

这几行被人改了N 多次。。。怎么到现在还有错。也是给跪了

@sjsdfg sjsdfg merged commit 5e6c267 into lingcoder:master Aug 6, 2020
@AlanMeng AlanMeng deleted the AlanMeng-patch-1 branch August 6, 2020 03:12
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