mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
add filter support
This commit is contained in:
@@ -2,13 +2,14 @@ package cn.hutool.core.lang;
|
||||
|
||||
/**
|
||||
* 过滤器接口
|
||||
* @author Looly
|
||||
*
|
||||
* @author Looly
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Filter<T> {
|
||||
/**
|
||||
* 是否接受对象
|
||||
*
|
||||
* @param t 检查的对象
|
||||
* @return 是否接受对象
|
||||
*/
|
||||
|
Reference in New Issue
Block a user