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