Skip to content
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

函数式编程练习:使用函数式重构代码 #56

Merged
merged 1 commit into from Feb 22, 2020
Merged

函数式编程练习:使用函数式重构代码 #56

merged 1 commit into from Feb 22, 2020

Conversation

qinbing8
Copy link
Contributor

BiConsumer接口,消费两个数据,其数据类型由泛型参数决定。

  • void accept(T t, U u) ,消费两个指定泛型的数据

Supplier接口,"供给" , 对应的Lambda表达式需要“对外提供”一个符合泛型类型的对象数据。

  • T get() ,用来获取一个泛型参数指定类型的对象数据。

IntBinaryOperator接口,运算两个int值并产生一个int值结果

  • int applyAsInt(int left, int right),将运算符应用于给定的参数

@hcsp-bot
Copy link
Contributor

恭喜你,你的提交 d83c3ba 已经通过我们的CI检查:Your tests passed on CircleCI!

👍 它会被自动merge后revert。请不要骄傲,继续挑战!

点击这里查看模范代码

@hcsp-bot hcsp-bot merged commit 79595c2 into master Feb 22, 2020
hcsp-bot added a commit that referenced this pull request Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants