public class SimpleColumnMatcher extends java.lang.Object implements ColumnMatcher
| Modifier and Type | Field and Description |
|---|---|
static SimpleColumnMatcher |
INSTANCE |
| Constructor and Description |
|---|
SimpleColumnMatcher() |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Returns
true if the two objects are equal, handling null
and objects of type byte[]. |
boolean |
matches(Table table,
java.lang.String columnName,
java.lang.Object value1,
java.lang.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. |
public static final SimpleColumnMatcher INSTANCE
public boolean matches(Table table, java.lang.String columnName, java.lang.Object value1, java.lang.Object value2)
ColumnMatchertrue if the given value1 should be considered a match for
the given value2 for the given column in the given table, false
otherwise.matches in interface ColumnMatchertable - the relevant tablecolumnName - the name of the relevant column within the tablevalue1 - the first value to match (may be null)value2 - the second value to match (may be null)private static boolean equals(java.lang.Object o1,
java.lang.Object o2)
true if the two objects are equal, handling null
and objects of type byte[].