public List swap(long a, long b) { // modify in set() object temp = get(a); set(a, get(b)); set(b, temp); return this; }