Interface ColumnMatcher
-
- All Known Implementing Classes:
CaseInsensitiveColumnMatcher,SimpleColumnMatcher
- 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 ColumnMatcher
Interface for handling comparisons between column values.- Author:
- James Ahlborn
- Usage:
- Intermediate: This class requires moderate API knowledge.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(Table table, String columnName, Object value1, Object value2)Returnstrueif the given value1 should be considered a match for the given value2 for the given column in the given table,falseotherwise.
-
-
-
Method Detail
-
matches
boolean matches(Table table, String columnName, Object value1, Object value2)
Returnstrueif the given value1 should be considered a match for the given value2 for the given column in the given table,falseotherwise.- Parameters:
table- the relevant tablecolumnName- the name of the relevant column within the tablevalue1- the first value to match (may benull)value2- the second value to match (may benull)
-
-