I have a char [], and I want to set the value of every index to the same char value. There is the obvious way to do it (iteration):
char []
char
<
Arrays.fill might suit your needs
Arrays.fill