Update Java_函数式编程.md
This commit is contained in:
parent
94f066d030
commit
f1238239c5
@ -148,7 +148,7 @@ public interface Function<T, R> {
|
||||
}
|
||||
```
|
||||
|
||||
**4. Predicate\<T>**:判断类型为 T 的变量是否满足特定的条件,如果满足则返回 true,否则返回 flase:
|
||||
**4. Predicate\<T>**:判断类型为 T 的变量是否满足特定的条件,如果满足则返回 true,否则返回 false:
|
||||
|
||||
```java
|
||||
@FunctionalInterface
|
||||
|
Loading…
x
Reference in New Issue
Block a user