How do i convert Long[] to long[]? For example i know how to convert if it is not array as below.
long ll = (Long)Object[1].longValue()
But how
You could steal a solution based on ArrayUtils
ArrayUtils
Long[] longObjects = { 1L, 2L, 3L }; long[] longArray = ArrayUtils.toPrimitive(longObjects);