Update Java_函数式编程.md

This commit is contained in:
heibaiying 2020-12-09 09:59:35 +08:00 committed by GitHub
parent 94f066d030
commit f1238239c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ public interface Function<T, R> {
}
```
**4. Predicate\<T>**:判断类型为 T 的变量是否满足特定的条件,如果满足则返回 true否则返回 flase
**4. Predicate\<T>**:判断类型为 T 的变量是否满足特定的条件,如果满足则返回 true否则返回 false
```java
@FunctionalInterface