question: public void swapElements ( final int index1 , final int index2 ) { Collections . swap ( actionList , index1 , index2 ) ; for ( UpdateManagerListener listener : listeners ) { listener . actionOrderChanged ( ) ; } }
target:  Swap elements at the specified location.