public String toString(String field) {StringBuilder buffer = new StringBuilder();buffer.append("spanNot(");buffer.append(include.toString(field));buffer.append(", ");buffer.append(exclude.toString(field));buffer.append(", ");buffer.append(Integer.toString(pre));buffer.append(", ");buffer.append(Integer.toString(post));buffer.append(")");return buffer.toString();}
public override string ToString(string field){StringBuilder buffer = new StringBuilder();buffer.Append("spanNot(");buffer.Append(include.ToString(field));buffer.Append(", ");buffer.Append(exclude.ToString(field));buffer.Append(", ");buffer.Append(Convert.ToString(pre));buffer.Append(", ");buffer.Append(Convert.ToString(post));buffer.Append(")");buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}