Esiste un modo semplice per convertire una ArrayList che contiene solo caratteri in una stringa? Quindi diciamo che abbiamoConverti ArrayList <Characters> in una stringa
ArrayList<Character> arrayListChar = new ArrayList<Character>();
arrayListChar.add(a);
arrayListChar.add(b);
arrayListChar.add(c);
Quindi l'elenco di array contiene a, b, e c. Idealmente, quello che vorrei fare è trasformarlo in una stringa "abc".
Possibile duplicato della domanda: http://stackoverflow.com/q/6324826/601409 – EkcenierK
qui sono state fornite anche risposte migliori: http://stackoverflow.com/questions/523871/best-way-to-concatenate-list -of-string-objects Si tratta di concatenare l'elenco di stringhe, ma chiudere. – jFrenetic