public static java.util.List < TYPE_1 > METHOD_1 ( java.lang.String VAR_1 , java.util.List < TYPE_1 > list ) { java.util.List < TYPE_1 > VAR_2 = new java.util.ArrayList < TYPE_1 > ( ) ; java.util.Iterator < TYPE_1 > iterator = list . iterator ( ) ; while ( iterator . METHOD_2 ( ) ) { TYPE_1 VAR_3 = iterator . METHOD_3 ( ) ; if ( VAR_3 . getName ( ) . equals ( VAR_1 ) ) { VAR_3 . METHOD_4 ( ) ; } else { VAR_2 . add ( VAR_3 ) ; } } return VAR_2 ; }

public static void METHOD_1 ( java.lang.String VAR_1 , java.util.List < TYPE_1 > list ) { java.util.Iterator < TYPE_1 > iterator = list . iterator ( ) ; while ( iterator . METHOD_2 ( ) ) { TYPE_1 VAR_3 = iterator . METHOD_3 ( ) ; if ( VAR_3 . getName ( ) . equals ( VAR_1 ) ) { VAR_3 . METHOD_4 ( ) ; list . remove ( iterator ) ; } } }
