Package com.github.vlachenal.sql
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisValid(T value)Check if value is valid
-
-
-
Method Detail
-
isValid
boolean isValid(T value)
Check if value is valid- Parameters:
value- the value to check- Returns:
trueif value is valid,falseotherwise
-
-