how to change the position of a value in arraylist code example Example: java list change element position Collections.swap(List<?> list, int i, int j)