mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
fix doc
This commit is contained in:
parent
ececce7c52
commit
c8f71a4bd2
@ -237,8 +237,8 @@ public class Opt<T> {
|
||||
* 不满足条件或者元素本身为空时返回一个返回一个空的{@code Opt}
|
||||
*
|
||||
* @param predicate 给定的条件
|
||||
* @return 如果满足条件则返回本身, 不满足条件或者元素本身为空时返回一个返回一个空的{@code Opt}
|
||||
* @throws NullPointerException 如果给定的条件为 {@code null},抛出{@code NPE}
|
||||
* @return 如果满足条件则返回本身, 不满足条件或者元素本身为空时返回一个空的{@code Opt}
|
||||
* @throws NullPointerException 如果给定的条件为 {@code null}抛出{@code NPE}
|
||||
*/
|
||||
public Opt<T> filter(final Predicate<? super T> predicate) {
|
||||
Objects.requireNonNull(predicate);
|
||||
|
Loading…
Reference in New Issue
Block a user