/** * The text representation of the URI. * @return the text representation of the URI. */ public String toString() { return variable.toString(); }
public static String toString(Variable[] varArray) { if (varArray == null) { return "NULL"; } StringBuffer buffer = new StringBuffer("V["); for (int i = 0; i < varArray.length; i++) { buffer.append(" "); buffer.append(varArray[i].toString()); } buffer.append(" ]"); return buffer.toString(); }
for (int i = 0; i < variables.length; i++) { buffer.append(variables[i]); for (int j = 0; j < (6 - variables[i].toString().length()); j++) { buffer.append(" ");