stringcomparator类:使用特定于地区的规则比较两个字符串。
Class StringComparator: Compares two strings using locale-specific rules.
用户所输入的值会与这些验证规则进行比较。
Values entered by the user are compared to the validation rules.
但是,如果信息包与这条规则不匹配,那么它将与链中的下一条规则进行比较。
But if the packet doesn't match a rule, then it is compared to the next rule in the chain.
And they're useful because, first of all, they're easy to depict, they're easy to draw relatively easy once we get all the rules down.
它很有用是因为,首先,它很容易描述,它很容易画出来,一旦我们确定了所有的规则以后就比较容易。
Now fortunately this time, it's not speaking role.
时间比较紧,我就不说规则了。
应用推荐