Filter

interface Filter<T>

过滤器。 对一个指定的目标进行过滤匹配, 并得到最终的匹配结果。

此过滤器的匹配函数 test 是可挂起的。

Author

ForteScarlet

See also

Functions

Link copied to clipboard
abstract suspend fun test(t: T): Boolean

通过匹配目标进行检测,得到匹配结果。

Inheritors

Link copied to clipboard
Link copied to clipboard