Here you can find the source of arrayToUpper(String[] values)
public static String[] arrayToUpper(String[] values)
//package com.java2s; public class Main { public static String[] arrayToUpper(String[] values) { int count = values.length; String[] results = new String[count]; for (int index = 0; index < count; index++) { results[index] = values[index].toUpperCase(); }/*from www.j a v a2 s.co m*/ return results; } }