simple-robot
3.0.0-RC.2
simboot-api
/
love.forte.simboot
/
Matcher
Matcher
fun
interface
Matcher
<
T
,
R
>
一个匹配器,提供一个
T
作为被匹配的目标,
R
为匹配原则/规则, 并得到一个匹配结果。
Functions
Inheritors
Functions
match
Link copied to clipboard
abstract
fun
match
(
target
:
T
,
rule
:
R
)
:
Boolean
通过匹配规则,对目标进行匹配检测。
Inheritors
KeywordMatcher
Link copied to clipboard
StringMatcher
Link copied to clipboard