@FunctionalInterface public interface ThrowingPredicate<T,E extends Throwable>
接收一个参数,返回一个布尔值,可抛出异常。
Predicate
boolean
test(T t)
boolean test(T t) throws E extends Throwable
t
true
false
E extends Throwable
Copyright © 2026. All rights reserved.