public TYPE_1 [ ] METHOD_1 ( TYPE_1 p ) { java.util.ArrayList < TYPE_1 > tmp = new java.util.ArrayList < TYPE_1 > ( ) ; for ( int i = 0 ; i < ( VAR_1 . size ( ) ) ; ++ i ) { if ( VAR_1 . get ( i ) . METHOD_2 ( p ) ) tmp . add ( VAR_1 . get ( i ) ) ; } TYPE_1 [ ] VAR_2 = new TYPE_1 [ tmp . size ( ) ] ; VAR_2 = tmp . METHOD_3 ( VAR_2 ) ; return VAR_2 ; }

public TYPE_1 [ ] METHOD_1 ( TYPE_1 p ) { java.util.ArrayList < TYPE_1 > tmp = new java.util.ArrayList < TYPE_1 > ( ) ; for ( int i = 0 ; i < ( VAR_1 . size ( ) ) ; ++ i ) { if ( VAR_1 . get ( i ) . equals ( p ) ) tmp . add ( VAR_1 . get ( i ) ) ; } TYPE_1 [ ] VAR_2 = new TYPE_1 [ tmp . size ( ) ] ; VAR_2 = tmp . METHOD_3 ( VAR_2 ) ; return VAR_2 ; }
