public TYPE_1 METHOD_1 ( ) { TYPE_1 element = VAR_1 . get ( 0 ) ; for ( int i = 0 ; i < ( ( VAR_1 . size ( ) ) - 1 ) ; i ++ ) { VAR_1 . set ( i , VAR_1 . get ( ( i + 1 ) ) ) ; } VAR_1 . remove ( VAR_1 . size ( ) ) ; return element ; }

public TYPE_1 METHOD_1 ( ) { if ( ! ( isEmpty ( ) ) ) { TYPE_1 element = VAR_1 . get ( 0 ) ; for ( int i = 0 ; i < ( ( VAR_1 . size ( ) ) - 1 ) ; i ++ ) { VAR_1 . set ( i , VAR_1 . get ( ( i + 1 ) ) ) ; } VAR_1 . remove ( ( ( VAR_1 . size ( ) ) - 1 ) ) ; return element ; } else return null ; }
