question: public final V extractFirst ( ) { if ( size ( ) > 0 ) { if ( GWT . isScript ( ) ) { V ret = jsArray . get ( 0 ) ; jsArray . remove ( 0 ) ; return ret ; } else { return javaArray . remove ( 0 ) ; } } return null ; }
target:  Retrieve the first element and remove it from the list 