@Override public E move(int targetIndex, int sourceIndex) { return delegate.move(targetIndex, sourceIndex); }
/** * Moves the object to the index of the list. * This implementation uses {@link #indexOf} of find the object * and delegates to {@link #move(int, int) move(int, int)}. * @param index the new position for the object in the list. * @param object the object to be moved. * @exception IndexOutOfBoundsException if the index isn't within the size range or the object isn't contained by the list. */ public void move(int index, E object) { move(index, indexOf(object)); }