public < TYPE_1 > void METHOD_1 ( java.util.ArrayList < TYPE_1 > array ) { TYPE_1 temp ; int size = array . size ( ) ; for ( int i = 0 ; i < ( size / INT_1 ) ; i ++ ) { int index = ( size - i ) - 1 ; temp = array . get ( i ) ; array . set ( i , array . get ( index ) ) ; array . set ( index , temp ) ; } }

public < TYPE_1 > TYPE_1 [ ] METHOD_1 ( TYPE_1 [ ] array ) { TYPE_1 temp ; int size = array . length ; for ( int i = 0 ; i < ( size / INT_1 ) ; i ++ ) { int index = ( size - i ) - 1 ; temp = array [ i ] ; array [ i ] = array [ index ] ; array [ index ] = temp ; } return array ; }
