public boolean equals(Object other) {return sameClassAs(other) &&func.equals(((FunctionQuery) other).func);}

public override bool Equals(object o){var other = o as FunctionQuery;if (other == null){return false;}return Boost == other.Boost&& func.Equals(other.func);}
