public final void unlockAll ( List < Lock > locks ) { for ( int i = locks . size ( ) ; i > 0 ; i -- ) { assert this . indexOf ( locks . get ( i - 1 ) ) != - 1 ; locks . get ( i - 1 ) . unlock ( ) ; } }
Unlock a list of object