I have a structure ArrayDeque<Character>, and I want to translate it in place. If it were an array of chars I could do this:
char[] chars = { 'A', 'B', 'C', 'D', 'E', 'F' };
StringFromChars String = String.valueOf(chars); // "ABCDEF"
But if I do the same with ArrayDeque, it turns out garbage:
String(String.valueOf(p...