If I have an expression:
/ List<Long> / / List<String> /
s.getPhones().addAll(Arrays.asList(rs.getString("phones").split(",")));
Can I use Java Lambda to convert types with Long.parseLong in pritty form without "for loop" ? Or even if will use for loop, it will became more "codeless".
How it must look like?