2015-12-02 StringTokenizer 空文字列はゼロになる StringTokenizer a = new StringTokenizer("","@"); System.out.println(a.countTokens()); // 0