public String toString() {return "spans(" + term.toString() + ")@" +(doc == -1 ? "START" : (doc == NO_MORE_DOCS) ? "ENDDOC": doc + " - " + (position == NO_MORE_POSITIONS ? "ENDPOS" : position));}

public String toString ( ) { return "spans(" + term . toString ( ) + ")@" + ( doc == - 1 ? "START" : ( doc == NO_MORE_DOCS ) ? "ENDDOC" : doc + " - " + ( position == NO_MORE_POSITIONS ? "ENDPOS" : position ) ) ; }
public override string ToString(){return "spans(" + m_term.ToString() + ")@" + (m_doc == -1 ? "START" : (m_doc == int.MaxValue) ? "END" : m_doc + "-" + m_position);}
