public java.util.List < TYPE_1 > METHOD_1 ( TYPE_2 < TYPE_1 > VAR_1 ) { if ( VAR_1 == null ) { throw new TYPE_3 ( STRING_1 ) ; } java.util.List < TYPE_1 > list = new java.util.ArrayList < TYPE_1 > ( VAR_2 ) ; list . METHOD_2 ( VAR_1 ) ; return list ; }

public java.util.List < TYPE_1 > METHOD_1 ( TYPE_2 < TYPE_1 > VAR_1 ) { if ( VAR_1 == null ) { throw new TYPE_3 ( STRING_1 ) ; } java.util.List < TYPE_1 > list = new java.util.ArrayList < TYPE_1 > ( VAR_2 ) ; java.util.Collections.sort ( list , VAR_1 ) ; return list ; }
