boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TextIndexQuery query = (TextIndexQuery)o; return myIdIndexEntries.equals(query.myIdIndexEntries) && myTrigrams.equals(query.myTrigrams) && Objects.equals(myContext, query.myContext); }