Last active
April 19, 2018 20:35
-
-
Save nbhusare/da10210da643091e056cc6e521f78afb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final List<Customer> customers = getCustomersFromDb(); | |
IntStream.range(0, customers.size()).forEach(index -> { | |
print("Index " + index) | |
print("Customer " + customers.get(index)); | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment