What's the new way to iterate over a Java Map in Scala 2.8.0?

Posted by Alex R on Stack Overflow See other posts from Stack Overflow or by Alex R
Published on 2010-04-25T16:46:09Z Indexed on 2010/04/25 16:53 UTC
Read the original article Hit count: 221

How does scala.collection.JavaConversions supercede the answers given here:

(doesn't work because the "jcl" package is gone)

and here

(doesn't work me in a complicated test which I'll try to boil down and post here later)

The latter is actually a Scala Map question but I think I need to know both answers in order to iterate over a java.util.Map.

Thanks

© Stack Overflow or respective owner

Related posts about scala

Related posts about scala-2.8