How to replace element if exists in an ArrayList at a given index?
arrayList.set(index i,String replaceElement);