`
第一次认识梦想
  • 浏览: 2336 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

JAVA8 新特性 边学边记(一) Lambda Expressions

阅读更多
Lambda Expressions enable you to encapsulate a single unit of behavior and pass it to other code. You can use a lambda expressions if you want a certain action performed on each element of a collection, when a process is completed, or when a process encounters an error.
Lambda Expressions使得你可以封装一个单个的行为单元(方法定义?),并把它传到别的代码里面。你可以在对一个集合里面所有元素执行某一个特定操作,或者一个过程结束了,或者一个过程发生错误的时候使用lambda表达式。


内容较多,具体内容待编辑。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics