Java and using method addAll for List<Character>
<p>I have something simple, but can't solve. I just want to add one list of chars to another . It's working with <code>String</code> types. Why does it not work with <code>char</code>? </p>

<pre><code>Character [] myChar={'a', 's', 'd','f', 't', 'i'};
List&lt;Character&gt; listChar= Arrays.asList(myChar);
Character[] newChar= new Character[listChar.size()];
List&lt;Character&gt; newlistChar= Arrays.asList(newChar);
Collections.fill(newlistChar, 'd');
output(newlistChar,"filled d");
Collections.addAll(listChar,newlistChar); // does not work
</code></pre>

<p>I tried to do something like casting the list, but still got an exception. </p>

<pre><code>   ...((String)(listChar),(String)(newlistChar))
</code></pre>

<p>Even if I use something like this it still throws and exception. So how do I use addAll with <code>char</code>?</p>

<pre><code>Collections.addAll(listChar,newlistChar.toArray(new Character[newlistChar.size()]));
</code></pre>
