Is there a method to do the following without doing both methods: find and map?
find
map
val l = 0 to 3 l.find(_ * 33 % 2 == 0).map(_ * 33) //
If you don't want to do your map() operation multiple times (for instance if it's an expensive DB lookup) you can do this:
map()
l.view.map(_ * 33).find(_ % 2 == 0)
The view makes the collection lazy, so the number of map() operations is minimized.
view