public class SimpleListValidation<T> extends Object implements Validation<List<T>>
| Modifier and Type | Method and Description |
|---|---|
static <X> SimpleListValidation<X> |
forList(java.util.function.Predicate<List<X>> predicate,
ErrorDescription errorDescription) |
static <X> SimpleListValidation<X> |
forList(java.util.function.Predicate<List<X>> predicate,
java.util.function.Supplier<ErrorDescription> errorDescription) |
ValidationResult |
test(List<T> list) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, and, orpublic static <X> SimpleListValidation<X> forList(java.util.function.Predicate<List<X>> predicate, ErrorDescription errorDescription)
public static <X> SimpleListValidation<X> forList(java.util.function.Predicate<List<X>> predicate, java.util.function.Supplier<ErrorDescription> errorDescription)
public ValidationResult test(List<T> list)
test in interface Validation<List<T>>Copyright © 2018. All rights reserved.