Swap the elements at indices i, j in the list items
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);
items.swap(i, j);
No security, no password. Other people might choose the same nickname.