T - 输入类型E - 允许抛出的异常类型@FunctionalInterface public interface ThrowingPredicate<T,E extends Exception>
类似于 Predicate,但 test 方法允许抛出受检异常。
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(T t)
对给定参数执行此谓词判断。
|
Copyright © 2026. All rights reserved.