public TYPE_1 METHOD_1 ( ) { TYPE_1 result = VAR_1 . get ( 0 ) ; VAR_1 . remove ( 0 ) ; return result ; } 

public TYPE_1 METHOD_1 ( ) { if ( ( VAR_1 . size ( ) ) > 0 ) { TYPE_1 result = VAR_1 . get ( 0 ) ; VAR_1 . remove ( 0 ) ; return result ; } else return null ; } 
