/** Returns true iff <code>other</code> is equal to <code>this</code>. */ @Override public boolean equals(Object other) { return sameClassAs(other) && term.equals(((TermQuery) other).term); }
/** Returns true iff <code>other</code> is equal to <code>this</code>. */ @Override public boolean equals(Object other) { return sameClassAs(other) && term.equals(((TermQuery) other).term); }