public static int[] convertIntegers(List<Integer> integers){
  int[] ret=new int[integers.size()];
  copyIntegers(integers,ret);
  return ret;
}

public static int [ ] convertIntegers ( List < Integer > integers ) { int [ ] ret = new int [ integers . size ( ) ] ; copyIntegers ( integers , ret ) ; return ret ; }
converts the provided integer list to an int array .
