Skip to content

Translation fix #457

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 3 commits into from
May 16, 2020
Merged

Translation fix #457

merged 3 commits into from
May 16, 2020

Conversation

freestyle-coding
Copy link
Contributor

第十三章 函数式编程 中的两处翻译错误 ,附上原文以供参考

The value of @FunctionalInterface is seen in the definition of NotFunctional: More than one method in your interface produces a compile-time error message.

Because we can simply write Function<Integer,Double> and produce working results, it’s clear that the only reason for the primitive variants of the functionals is to prevent the autoboxing and autounboxing involved with passing arguments and returning results. That is, for performance.

@sjsdfg sjsdfg merged commit 21513a6 into lingcoder:master May 16, 2020
@freestyle-coding freestyle-coding deleted the translation-fix branch May 18, 2020 06:41
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