Cannot swap elements in ArrayList

Printable View