Convert Set of Integer to array of int in Java