use of org.apache.asterix.external.classad.AMutableCharArrayString in project asterixdb by apache.
the class FunctionalTester method handle_echo.
/*********************************************************************
* Function: handle_echo
* Purpose:
*********************************************************************/
public static void handle_echo(String line, State state, Parameters parameters) {
AMutableCharArrayString new_line = new AMutableCharArrayString();
int index;
index = 0;
while (index < line.length() && Character.isWhitespace(line.charAt(index))) {
index++;
}
while (index < line.length()) {
new_line.appendChar(line.charAt(index));
index++;
}
System.out.println(new_line.toString());
}
Aggregations