APIdia Launch Partner
Top Description Methods
io.github.spannm.jackcess.util

public Interface ColumnMatcher

Known Direct Implementers
io.github.spannm.jackcess.util.SimpleColumnMatcher, io.github.spannm.jackcess.util.CaseInsensitiveColumnMatcher
Annotations
@FunctionalInterface
Imports
io.github.spannm.jackcess.Table

Interface for handling comparisons between column values.

Method Summary

Modifier and TypeMethod and Description
public boolean
matches(Table
the relevant table
table
,
String
the name of the relevant column within the table
columnName
,
Object
the first value to match (may be null)
value1
,
Object
the second value to match (may be null)
value2
)

Returns true if the given value1 should be considered a match for the given value2 for the given column in the given table, false otherwise.

Method Detail

matchesback to summary
public boolean matches(Table table, String columnName, Object value1, Object value2)

Returns true if the given value1 should be considered a match for the given value2 for the given column in the given table, false otherwise.

Parameters
table:Table

the relevant table

columnName:String

the name of the relevant column within the table

value1:Object

the first value to match (may be null)

value2:Object

the second value to match (may be null)