how to iterate over list using stream code example Example: spring iterate for (String m : myList) { ... }