import java.util.ArrayList;
import java.util.List;
class Main {
public static final String BLANK_SPACE = " ";
public static final String EMPTY = "";
public static List splitBySpace(String src) {
src = src.replaceAll("\t", BLANK_SPACE);
return asList(src, BLANK_SPACE);
}
public static List asList(String src, String separater) {
List result = new ArrayList();
if (src == null || src.trim().equals(EMPTY)) {
return result;
} else {
String values[] = src.split(separater);
for (String value : values) {
if (!value.trim().equals(EMPTY)) {
result.add(value.trim());
}
}
return result;
}
}
}