Converts a list of Terms to a String. @param args An array of Terms to convert @return String representation of a list of Terms
(Term[] args)
| 858 | * @return String representation of a list of Terms |
| 859 | */ |
| 860 | public static String toString(Term[] args) { |
| 861 | String s = ""; |
| 862 | for (int i = 0; i < args.length; ++i) { |
| 863 | s += args[i].toString(); |
| 864 | if (i != args.length - 1) { |
| 865 | s += ", "; |
| 866 | } |
| 867 | } |
| 868 | return s; |
| 869 | } |
| 870 | |
| 871 | /** |
| 872 | * returns the type of this term, as one of org.jpl7.fli.Prolog.COMPOUND, .ATOM, .VARIABLE, .INTEGER, .FLOAT etc |
no outgoing calls