Predicate、Function、Consumer、Supplier 等标准函数式接口 | JavaSE
本章覆盖:Predicate<T>;Function<T,R>;Consumer<T>;Supplier<T>;UnaryOperator 与 BinaryOperator;BiFunction、BiConsumer、BiPredicate;and、or、negate、compose、andThen;基本类型特化接口的意义。
本章知识点
- Predicate<T>
- Function<T,R>
- Consumer<T>
- Supplier<T>
- UnaryOperator 与 BinaryOperator
- BiFunction、BiConsumer、BiPredicate
- and、or、negate、compose、andThen
- 基本类型特化接口的意义