0
Java List question
I have a list. How can I check thru it and replace all index with a value of "G" with "B" if my list was mylist={"A", "G", "C"}; but I wanted to change it to mylist={"A", "B", "C"};
2 Respuestas
+ 3
Collections.replaceAll(mylist, "G", "B");
0
thanks! Google wasn't getting me anywhere and it was driving me nuts