public String toString() {StringBuilder r = new StringBuilder();if (isOperatorInfix()) {infixToString(r);} else {prefixToString(r);}weightToString(r);return r.toString();}

public String toString ( ) { StringBuilder r = new StringBuilder ( ) ; if ( isOperatorInfix ( ) ) { infixToString ( r ) ; } else { prefixToString ( r ) ; } weightToString ( r ) ; return r . toString ( ) ; }
public override string ToString(){StringBuilder r = new StringBuilder();if (IsOperatorInfix){InfixToString(r);}else{PrefixToString(r);}WeightToString(r);return r.ToString();}
