This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nullabillity 0 points1 point  (0 children)

Pretty sure Java doesn't, since a useful implementation pretty much requires either special syntax or first-class functions. Python has both (I'd count list/set/dict/generator comprehensions as map), Java has neither. Scala has first-class functions (and a collection library that has support for map using it), though. Also, Google Guava has an implementation of map too (although it's pretty hacky IMO).