Is there any utility method to convert a list of Numerical types to array of primitive type? In other words I am looking for a better solution than this.
private