@Test public void testToUpperCase() { Assert.assertEquals("TEST", StringUtil.toUpperCase("test")); Assert.assertEquals("SIMPLE", StringUtil.toUpperCase("simple")); }
public static String toUpperCase(CharSequence string) { char[] upperCaseChars = new char[string.length()]; for (int i = 0; i < string.length(); i++) { upperCaseChars[i] = Character.toUpperCase(string.charAt(i)); } return new String(upperCaseChars); }
StringUtil { public static String toUpperCase(CharSequence string) { char[] upperCaseChars = new char[string.length()]; for (int i = 0; i < string.length(); i++) { upperCaseChars[i] = Character.toUpperCase(string.charAt(i)); } return new String(upperCaseChars); } }
StringUtil { public static String toUpperCase(CharSequence string) { char[] upperCaseChars = new char[string.length()]; for (int i = 0; i < string.length(); i++) { upperCaseChars[i] = Character.toUpperCase(string.charAt(i)); } return new String(upperCaseChars); }  }
StringUtil { public static String toUpperCase(CharSequence string) { char[] upperCaseChars = new char[string.length()]; for (int i = 0; i < string.length(); i++) { upperCaseChars[i] = Character.toUpperCase(string.charAt(i)); } return new String(upperCaseChars); }  static boolean isWhitespace(char charCode); static boolean isWhitespace(int charCode); static String toLowerCase(CharSequence string); static String toUpperCase(CharSequence string); static boolean isEmpty(CharSequence theString); static int[][] levenshteinDistance(String wordForm, String lemma); static void computeShortestEditScript(String wordForm, String lemma,
      int[][] distance, StringBuffer permutations); static String decodeShortestEditScript(String wordForm, String permutations); static String getShortestEditScript(String wordForm, String lemma); }
StringUtil { public static String toUpperCase(CharSequence string) { char[] upperCaseChars = new char[string.length()]; for (int i = 0; i < string.length(); i++) { upperCaseChars[i] = Character.toUpperCase(string.charAt(i)); } return new String(upperCaseChars); }  static boolean isWhitespace(char charCode); static boolean isWhitespace(int charCode); static String toLowerCase(CharSequence string); static String toUpperCase(CharSequence string); static boolean isEmpty(CharSequence theString); static int[][] levenshteinDistance(String wordForm, String lemma); static void computeShortestEditScript(String wordForm, String lemma,
      int[][] distance, StringBuffer permutations); static String decodeShortestEditScript(String wordForm, String permutations); static String getShortestEditScript(String wordForm, String lemma);  }