@FunctionalInterface public interface Validation<T>
限定符和类型 | 方法和说明 |
---|---|
default Validation<T> |
and(Validation<T> other) |
default Validation<T> |
or(Validation<T> other) |
ValidationResult |
test(T param) |
ValidationResult test(T param)
default Validation<T> and(Validation<T> other)
default Validation<T> or(Validation<T> other)
Copyright © 2018. All rights reserved.