Tuesday 28 May 2013

Map.values() returns an Iterable

Hidden in koan("Map values can be iterated") is a comment which piqued my interest:

I cracked out the SBT console to have a better look:

It seems the comment is a little incorrect (myValues is an Iterable rather than an Iterator) but I get the idea.

No comments:

Post a Comment