@FunctionalInterface public static interface InputReader.ValueChecker<T>
Modifier and Type | Method and Description |
---|---|
List<String> |
getErrorMessages(T val,
String itemName)
Returns the list of error messages due to constraint violations caused by val
|
List<String> getErrorMessages(T val, String itemName)
val
- the value for which constraint violations are checkeditemName
- the name of the item corresponding to this value. May be null.