com.github.yiuman.citrus.support.wrapper.PredicateWrapper Maven / Gradle / Ivy
package com.github.yiuman.citrus.support.wrapper;
/**
* Predicate扩展,可抛异常,一般用于lambda操作
*
* @author yiuman
* @date 2020/5/26
*/
public interface PredicateWrapper {
/**
* 断言
*
* @param t 参数
* @return 断言结果true/false
* @throws E 抛出的异常
*/
boolean test(T t) throws E;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy