LPS-46678 add utility methods to transform int/long primitive arrays into wrapped Long ones