convert java raw list to scala collection