### Question:
Chars { public static boolean isWhiteSpace(String w) { for(int i=0;i<w.length();i++){ char c = w.charAt(i); if(!Character.isWhitespace(c)){ return false; } } return true; }  static boolean isChar(String str); static boolean containChar(String str); static boolean isChar(char c); static boolean isChineseChar(char c); static String ToDBC(String input); static StringType char2StringType(CharType c); static StringType getStringType(String str); static TreeSet<CharType> getTypeSet(String str); static boolean isLetterOrDigitOrPunc(char ch); static boolean isLetterOrDigitOrPunc(String str); static boolean isPunc(String str); static CharType[] getType(String str); static CharType getType(char c); static String getTypeString(String str); static String type2String(CharType[] tag); static boolean isWhiteSpace(String w);  }### Answer:
@Test public void testIsWhitespace() { String input = " \t\n1\r"; for(int i=0;i<input.length();i++){ char c = input.charAt(i); boolean b = Character.isWhitespace(c); System.out.println(c+String.valueOf(b)); } }