JDK8日常开发系列:Consumer详解

java.util.function中 Function, Supplier, Consumer, Predicate和其他函数式接口广泛用在支持lambda表达式的API中。这些接口有一个抽象方法,会被lambda表达式的定义所覆盖。

...
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×