public < TYPE_1 > java.util.List < TYPE_1 > first ( java.util.List < TYPE_1 > VAR_1 , int num ) { java.util.List < TYPE_1 > VAR_2 = new java.util.ArrayList < TYPE_1 > ( ) ; for ( int i = 0 ; i < num ; i ++ ) { VAR_2 . add ( VAR_1 . get ( i ) ) ; } return VAR_2 ; }

public < TYPE_1 > java.util.List < TYPE_1 > first ( java.util.List < TYPE_1 > VAR_1 , int num ) { java.util.List < TYPE_1 > VAR_2 = new java.util.ArrayList < TYPE_1 > ( ) ; if ( num > ( VAR_1 . size ( ) ) ) { num = VAR_1 . size ( ) ; } for ( int i = 0 ; i < num ; i ++ ) { VAR_2 . add ( VAR_1 . get ( i ) ) ; } return VAR_2 ; }
