Swap the elements at indices i, j in the list items
items.swap(i, j)
items[i], items[j] = items[j], items[i]
import static java.util.Collections.swap;
swap(items, i, j);
classes
items.exchange(i,j);
items.swap(i, j);
No security, no password. Other people might choose the same nickname.