I have the following qustion:
How can I convert the following code snipped to Java 8 lambda style?
List tmpAdresses = new ArrayList
You can use this to convert Long to String:
Long
String
List ids = allListIDs.stream() .map(listid-> String.valueOf(listid)) .collect(Collectors.toList());