mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
docs:纠正Opt.filter方法的文档描述
This commit is contained in:
parent
bf6871fb6d
commit
b62e99d573
@ -273,7 +273,7 @@ public class Opt<T> {
|
||||
* 不满足条件或者元素本身为空时返回一个返回一个空的{@code Opt}
|
||||
*
|
||||
* @param predicate 给定的条件
|
||||
* @return 如果满足条件则返回本身, 不满足条件或者元素本身为空时返回一个返回一个空的{@code Opt}
|
||||
* @return 如果满足条件则返回本身, 不满足条件或者元素本身为空时返回一个空的{@code Opt}
|
||||
* @throws NullPointerException 如果给定的条件为 {@code null},抛出{@code NPE}
|
||||
*/
|
||||
public Opt<T> filter(Predicate<? super T> predicate) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user