text: public boolean equals(Object obj) {if (this == obj)return true;if (!super.equals(obj))return false;if (getClass() != obj.getClass())return false;TermRangeQuery other = (TermRangeQuery) obj;if (includeLower != other.includeLower)return false;if (includeUpper != other.includeUpper)return false;if (lowerTerm == null) {if (other.lowerTerm != null)return false;} else if (!lowerTerm.equals(other.lowerTerm))return false;if (upperTerm == null) {if (other.upperTerm != null)return false;} else if (!upperTerm.equals(other.upperTerm))return false;return true;}