@Override public boolean equals(Object other) { return other instanceof SameTerm && super.equals(other); }
@Override public boolean equals(Object other) { return other instanceof Or && super.equals(other); }
@Override public boolean equals(Object other) { return other instanceof LangMatches && super.equals(other); }
@Override public boolean equals(Object other) { return other instanceof And && super.equals(other); }
@Override public boolean equals(Object other) { if (other instanceof Regex && super.equals(other)) { Regex o = (Regex)other; return nullEquals(flagsArg, o.getFlagsArg()); } return false; }
@Override public boolean equals(Object other) { if (other instanceof Compare && super.equals(other)) { Compare o = (Compare)other; return operator.equals(o.getOperator()); } return false; }
@Override public boolean equals(Object other) { if (other instanceof MathExpr && super.equals(other)) { MathExpr o = (MathExpr)other; return operator.equals(o.getOperator()); } return false; }