@Test public void testNonEquivalence2(){ MatchCriteria c1 = example("abc", '#'); c1.setNegated(true); MatchCriteria c2 = example("abc", '#'); c2.setNegated(false); int equals = -1; UnitTestUtil.helpTestEquivalence(equals, c1, c2); }
public void setNegated(boolean negationFlag) { negated = negationFlag; }
MatchCriteria extends PredicateCriteria implements Negatable { public void setNegated(boolean negationFlag) { negated = negationFlag; } }
MatchCriteria extends PredicateCriteria implements Negatable { public void setNegated(boolean negationFlag) { negated = negationFlag; } MatchCriteria();  MatchCriteria( Expression leftExpression, Expression rightExpression );  MatchCriteria( Expression leftExpression, Expression rightExpression, char escapeChar ); }
MatchCriteria extends PredicateCriteria implements Negatable { public void setNegated(boolean negationFlag) { negated = negationFlag; } MatchCriteria();  MatchCriteria( Expression leftExpression, Expression rightExpression );  MatchCriteria( Expression leftExpression, Expression rightExpression, char escapeChar ); void setLeftExpression(Expression expression); Expression getLeftExpression(); void setRightExpression(Expression expression); Expression getRightExpression(); char getEscapeChar(); void setEscapeChar(char escapeChar); boolean isNegated(); void setNegated(boolean negationFlag); @Override void negate(); void acceptVisitor(LanguageVisitor visitor); int hashCode(); boolean equals(Object obj); Object clone(); static Pattern getPattern(String newPattern, String originalPattern, int flags); MatchMode getMode(); void setMode(MatchMode mode); }
MatchCriteria extends PredicateCriteria implements Negatable { public void setNegated(boolean negationFlag) { negated = negationFlag; } MatchCriteria();  MatchCriteria( Expression leftExpression, Expression rightExpression );  MatchCriteria( Expression leftExpression, Expression rightExpression, char escapeChar ); void setLeftExpression(Expression expression); Expression getLeftExpression(); void setRightExpression(Expression expression); Expression getRightExpression(); char getEscapeChar(); void setEscapeChar(char escapeChar); boolean isNegated(); void setNegated(boolean negationFlag); @Override void negate(); void acceptVisitor(LanguageVisitor visitor); int hashCode(); boolean equals(Object obj); Object clone(); static Pattern getPattern(String newPattern, String originalPattern, int flags); MatchMode getMode(); void setMode(MatchMode mode); static final char WILDCARD_CHAR; static final char MATCH_CHAR; static final char NULL_ESCAPE_CHAR; }