public void init ( java.util.List < TYPE_1 > keys ) { VAR_1 . METHOD_1 ( ) ; for ( TYPE_1 key : keys ) { VAR_1 . add ( new TYPE_2 ( key ) ) ; } }
public void init ( java.util.List < TYPE_1 > keys ) { java.util.List < TYPE_2 > list = new java.util.ArrayList < > ( ) ; for ( TYPE_1 key : keys ) { list . add ( new TYPE_2 ( key ) ) ; } VAR_1 = list ; }