Charray do Arraylist Java
myString.chars().mapToObj(c -> (char) c).collect(Collectors.toList());
Lonely Lark
myString.chars().mapToObj(c -> (char) c).collect(Collectors.toList());
public char[] toArray(List<Character> list){
char[] toReturn = new char[list.size()];
int i = 0;
for(char c : list)
toReturn[i ++] = c;
return toReturn;
}