Java Char Array Create toCharArray(String str)

Here you can find the source of toCharArray(String str)

Description

to Char Array

License

Apache License

Declaration

public static char[] toCharArray(String str) 

Method Source Code

//package com.java2s;
/**/*from  www .  jav a  2s. com*/
 * HashMap?????????????????????????new??????????????????????????
 * ????????
 * code by guava-libraries.(Apache License 2.0)
 * https://code.google.com/p/guava-libraries/
 *
 * @return HashMap????????????????????????
 */

public class Main {

    public static char[] toCharArray(String str) {
        char[] result = str.toCharArray();
        return result;
    }
}

Related

  1. toCharArray(int number, int exactArrayLength)
  2. toCharArray(String map)
  3. toCharArray(String s)
  4. toCharArray(String s)
  5. toCharArray(String s)
  6. toCharArray(String str)
  7. toCharArray(String str)
  8. toCharArray(String string)
  9. toCharArray(String[] v)