return v2 != null && v1.equals(v2);
}
@Override
public void apply(FilterImpl f) {
CoreValue v1 = selector1.currentProperty(property1Name);
CoreValue v2 = selector2.currentProperty(property2Name);
if (f.getSelector() == selector1 && v2 != null) {
f.restrictProperty(property1Name, Operator.EQUAL, v2);
}
if (f.getSelector() == selector2 && v1 != null) {
f.restrictProperty(property2Name, Operator.EQUAL, v1);