查看了一下map每个返回的是​​immutable.Iterable[MyClass]​​​,
调用​​​toSeq​​​方法变成​​Seq[MyClass]​​就行了。