It is suggested that you do not use wildcards in the import statements. This defeats the entire purpose of properly packing the code into different classes and packages. Rather, import only what you need.
import scala.collection.immutable._
import scala.collection.immutable.{HashSet, HashMap}