Interface ListValidationUtils.ItemValidator<T>

  • Type Parameters:
    T - type of validated item
    Enclosing class:
    ListValidationUtils

    public static interface ListValidationUtils.ItemValidator<T>
    Helper interface for lambdas passed to validateCollection
    • Method Detail

      • validate

        void validate​(T item,
                      int index,
                      org.springframework.validation.Errors errors)