<awangdev>350. Intersection of Two Arrays II_2.java
private int[] convertToArray(List<Integer> list) {

        int[] rst = new int[list.size()];
        for (int i = 0; i < list.size(); i++) {
            rst[i] = list.get(i);
        }
        return rst;
    }
private int [ ] sample_funcname ( List < Integer > var_2 ) {
  int [ ] var_4 = new int [ var_2 . size ( ) ] ;
  for ( int var_6 = 0 ;
  var_6 < var_2 . size ( ) ;
  var_6 ++ ) {
    var_4 [ var_6 ] = var_2 . get ( var_6 ) ;
  }
  return var_4 ;
}
