You can also use for and foreach when working with a Scala Map (which is similar to a Java HashMap ). For example, given this Map of movie names and ratings ...
確定! 回上一頁