private int [ ] METHOD_1 ( java.util.List < TYPE_1 > list ) { int length = list . size ( ) ; if ( ( list == null ) || ( length == 0 ) ) { return new int [ 0 ] ; } int [ ] array = new int [ length ] ; int index = 0 ; for ( TYPE_1 p : list ) { array [ index ] = p . getType ( ) ; index ++ ; } return array ; }

private int [ ] METHOD_1 ( java.util.List < TYPE_1 > list ) { if ( ( list == null ) || ( ( list . size ( ) ) == 0 ) ) { return new int [ 0 ] ; } int [ ] array = new int [ list . size ( ) ] ; int index = 0 ; for ( TYPE_1 p : list ) { array [ index ] = p . getType ( ) ; index ++ ; } return array ; }
