Here you can find the source of tokenize(String in)
static List<String> tokenize(String in)
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { static List<String> tokenize(String in) { return Arrays.asList(in.split("\\s+")); }/* ww w .ja v a 2 s. co m*/ }