@FunctionalInterface public interface Validator<T>
| Modifier and Type | Method and Description |
|---|---|
static <T> Validator<T> |
not(Validator<T> validator)
根据校验器,创建相对立的一个校验器
|
boolean |
on(T object,
Context context)
校验对象
|
Copyright © 2020. All rights reserved.