private static String toUnicodeLowerCase(String s){
  int n=s.length();
  char[] result=new char[n];
  for (int i=0; i < n; ++i) {
    result[i]=Character.toLowerCase(s.charAt(i));
  }
  return new String(result);
}

private static String toUnicodeLowerCase ( String s ) { int n = s . length ( ) ; char [ ] result = new char [ n ] ; for ( int i = 0 ; i < n ; ++ i ) { result [ i ] = Character . toLowerCase ( s . charAt ( i ) ) ; } return new String ( result ) ; }
returns a lowercase version of the given string . the lowercase version is constructed by applying character . tolowercase ( ) to each character of the given string , which maps characters to lowercase using the rules of unicode . this mapping is the same regardless of locale , whereas the mapping of string . tolowercase ( ) may be different depending on the default locale .
