The document shows an example of converting an external iteration over a list using a for loop into an internal iteration using Java streams. First, a for loop is used to iterate over a list of numbers and add each number multiplied by 2 to a new list. Then, this is rewritten using streams to map each number by multiplying it by 2 and collecting the results into a new list, eliminating the need fo
![Javaで和暦と元号](https://cdn-ak-scissors.b.st-hatena.com/image/square/ab8df801c60310d1c5d3340ea0162bf80101325a/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fjavadewareki-170131062228-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)