Interface Filter<T>


public interface Filter<T>
过滤器接口
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T t)
    是否接受对象
  • Method Details

    • accept

      boolean accept(T t)
      是否接受对象
      Parameters:
      t - 检查的对象
      Returns:
      是否接受对象