text: public boolean equals(Object obj) {if (this == obj) {return true;}if (!super.equals(obj)) {return false;}PrefixQuery other = (PrefixQuery) obj;if (!term.equals(other.term)) {return false;}return true;}