How do I convert an Array[String] to a Set[String]?

后端 未结 0 1516
不知归路
不知归路 2021-02-12 02:46

I have an array of strings. What\'s the best way to turn it into an immutable set of strings?

I presume this is a single method call, but I can\'t find it in the scala d

相关标签:
回答
  • 消灭零回复
提交回复
热议问题