Interface ValueChecker<T>

  • Type Parameters:
    T - the value type
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ValueChecker<T>
    Value checker functional interface.
    Provides a method to check if a value is valid for adding it into SQL query.
    Since:
    0.1
    • Method Detail

      • isValid

        boolean isValid​(T value)
        Check if value is valid
        Parameters:
        value - the value to check
        Returns:
        true if value is valid, false otherwise