protected String toStringArguments ( ) { String result = "" ; if ( arity > 0 ) { result += "[ " ; for ( int i = 0 ; i < arity ; i ++ ) { Term nextArg = arguments [ i ] ; result += ( ( nextArg != null ) ? nextArg . toString ( ) : "<null>" ) + ( ( i < ( arity - 1 ) ) ? ", " : " " ) ; } result += " ]" ; } return result ; }
Creates a string representation of this functors arguments mostly used for debugging purposes .