public boolean equals(Object other) {return sameClassAs(other) &&equalsTo(getClass().cast(other));}
public override bool Equals(object o){if (!(o is DisjunctionMaxQuery)){return false;}DisjunctionMaxQuery other = (DisjunctionMaxQuery)o;return this.Boost == other.Boost&& this.tieBreakerMultiplier == other.tieBreakerMultiplier&& this.disjuncts.Equals(other.disjuncts);}